#9566EF#9566EF
#9566EF is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.5% C 0.198 H 296.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9566EF |
|---|---|
| RGB | rgb(149, 102, 239) |
| HSL | hsl(261, 81%, 67%) |
| HSV | hsv(261, 57%, 94%) |
| CMYK | cmyk(37.7%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(54.16, 48.03, -62.61) |
| CIE-LCH | lch(54.16, 78.91, 307.49°) |
| OKLab | oklab(62.51% 0.0867 -0.1779) |
| OKLCH | oklch(62.51% 0.198 296) |
| XYZ | xyz(32.7218, 22.1237, 84.1909) |
| Luminance | 0.2212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.70
Mediumpurple
#9370DB
ΔE00 4.01
Mediumslateblue
#7B68EE
ΔE00 4.77
Purpley
#8756E4
ΔE00 5.41
Lightish Purple
#A552E6
ΔE00 5.60
Light Urple
#B36FF6
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9566EF #C0EF66
analogous
#667CEF #9566EF #DA66EF
triadic
#9566EF #EF9566 #66EF95
tetradic
#9566EF #EF667C #C0EF66 #66EFDA
square
#9566EF #EF667C #C0EF66 #66EFDA
split-complementary
#9566EF #EFDA66 #7CEF66
monochromatic
#5115C6 #6F2FE9 #9566EF #BB9DF5 #E2D5FB
Accessibility & contrast
On white
3.87
#9566EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#9566EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9566EF
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9566EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9566EF | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1782F4
Deuteranopia (green-blind)
#2F80EC
Tritanopia (blue-blind)
#7F83A1
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9566ef; /* rgb */ color: rgb(149, 102, 239); /* oklch */ color: oklch(62.5% 0.198 296.0);
Tailwind
colors: {
custom: {
50: '#b993f5',
500: '#9566ef',
950: '#000000',
},
}SCSS
$custom: #9566ef; $custom-light: #b993f5; $custom-dark: #000000;
JSON
{
"hex": "#9566ef",
"rgb": {
"r": 149,
"g": 102,
"b": 239
},
"hsl": {
"h": 260.584,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.62508,
"c": 0.19788,
"h": 296
},
"luminance": 0.22124
}Semantic roles & 50–950 ramp
primary
#9566EF
secondary
#DFEEC2
accent
#DD0894
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85