Nearest named color · #A5489B
#A5489B
Nearest named color: Vicious Violet
#A5489B (rgb(165 72 155), hsl(306 39% 46%), oklch(0.552 0.16 331.8)) is closest to the named color Vicious Violet. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A5489B
oklch(0.552 0.16 331.8)
Color conversions
- HEX
- #a5489b
- RGB
- rgb(165 72 155)
- HSL
- hsl(306 39% 46%)
- HWB
- hwb(306 28% 35%)
- OKLCH
- oklch(0.552 0.16 331.8)
- OKLab
- oklab(0.552 0.141 -0.075)
- CIE Lab
- lab(45.64 47.04 -27.26)
- LCH
- lch(45.64 54.36 329.9)
- CMYK
- cmyk(0% 56% 6% 35%)
Tints · Shades · Tones
Tints
- AF5BA5
- B96EAF
- C280B9
- CC92C3
- D5A4CD
- DEB6D7
- E6C8E1
- EFDAEB
- F7ECF5
Shades
- 8F3D86
- 793372
- 65295E
- 511F4B
- 3D1639
- 2B0D28
- 1A0618
- 0A0209
- 010001
Tones
- A24F99
- 9F5696
- 9C5C94
- 996291
- 95678E
- 916D8C
- 8D7289
- 897786
- 857B83
Color harmonies
Complementary +180°
- A5489B
Vicious Violet
- 008944
≈ The Wild Apothecary
Analogous -30° +30°
- A5489B
Vicious Violet
- 8456BE
≈ Fuchsia Blue
- B9406B
≈ Raspberry Rose
Triadic +120° +240°
- A5489B
Vicious Violet
- 8A6F00
≈ Vermin Brown
- 008092
≈ Craftsman Blue
Split-complementary +150° +210°
- A5489B
Vicious Violet
- 667D00
≈ Birch Leaf Green
- 008576
≈ Summer Turquoise
Tetradic +90° +180° +270°
- A5489B
Vicious Violet
- A65E00
≈ Raw Umber
- 008944
≈ The Wild Apothecary
- 0079B7
≈ Star Command Blue
Contrast & accessibility
Ag
AAOn white
WCAG 5.24:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.00:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.24:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--vicious-violet: #a5489b;
--vicious-violet-rgb: 165 72 155;
--vicious-violet-oklch: oklch(0.552 0.16 331.8);
}
.element {
color: var(--vicious-violet);
background-color: hsl(306 39% 46%);
border-color: oklch(0.552 0.16 331.8);
}Tailwind CSS v4
@theme {
--color-vicious-violet: #a5489b;
--color-vicious-violet-50: #ffe5ff;
--color-vicious-violet-100: #ffd5fe;
--color-vicious-violet-200: #ffbbf1;
--color-vicious-violet-300: #e998d9;
--color-vicious-violet-400: #d478c8;
--color-vicious-violet-500: #c057b5;
--color-vicious-violet-600: #a24a98;
--color-vicious-violet-700: #823b7a;
--color-vicious-violet-800: #602a5c;
--color-vicious-violet-900: #431d41;
--color-vicious-violet-950: #2b0c29;
}SCSS
$vicious-violet: #a5489b;
$vicious-violet-rgb: 165, 72, 155;
$vicious-violet-light: mix(#fff, $vicious-violet, 20%);
$vicious-violet-dark: mix(#000, $vicious-violet, 20%);
.element {
color: $vicious-violet;
box-shadow: 0 0 0 2px rgba($vicious-violet, 0.35);
}