#A258CB#A258CB
#A258CB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.180 H 311.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A258CB |
|---|---|
| RGB | rgb(162, 88, 203) |
| HSL | hsl(279, 53%, 57%) |
| HSV | hsv(279, 57%, 80%) |
| CMYK | cmyk(20.2%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(50.66, 49.94, -47.77) |
| CIE-LCH | lch(50.66, 69.11, 316.27°) |
| OKLab | oklab(59.58% 0.1201 -0.134) |
| OKLCH | oklch(59.58% 0.18 311.9) |
| XYZ | xyz(29.1676, 18.9733, 58.6140) |
| Luminance | 0.1897 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.62
Lightish Purple
#A552E6
ΔE00 4.22
Mediumorchid
#BA55D3
ΔE00 4.48
Deep Lavender
#8D5EB7
ΔE00 4.98
Lighter Purple
#A55AF4
ΔE00 6.29
Deep Lilac
#966EBD
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A258CB #81CB58
analogous
#6958CB #A258CB #CB58BA
triadic
#A258CB #CBA258 #58CBA2
tetradic
#A258CB #CB6958 #81CB58 #58BACB
square
#A258CB #CB6958 #81CB58 #58BACB
split-complementary
#A258CB #BACB58 #58CB69
monochromatic
#612881 #8437AF #A258CB #BC87DA #D6B5E8
Accessibility & contrast
On white
4.38
#A258CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#A258CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A258CB
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A258CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A258CB | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#9D6C89
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a258cb; /* rgb */ color: rgb(162, 88, 203); /* oklch */ color: oklch(59.6% 0.180 311.9);
Tailwind
colors: {
custom: {
50: '#c08adb',
500: '#a258cb',
950: '#000000',
},
}SCSS
$custom: #a258cb; $custom-light: #c08adb; $custom-dark: #000000;
JSON
{
"hex": "#a258cb",
"rgb": {
"r": 162,
"g": 88,
"b": 203
},
"hsl": {
"h": 278.609,
"s": 52.511,
"l": 57.059
},
"oklch": {
"l": 0.59579,
"c": 0.17989,
"h": 311.9
},
"luminance": 0.18973
}Semantic roles & 50–950 ramp
primary
#A258CB
secondary
#B9D7A8
accent
#DC4C7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83