#936AF2#936AF2
#936AF2 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.1% C 0.196 H 294.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #936AF2 |
|---|---|
| RGB | rgb(147, 106, 242) |
| HSL | hsl(258, 84%, 68%) |
| HSV | hsv(258, 56%, 95%) |
| CMYK | cmyk(39.3%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(54.99, 46.17, -62.95) |
| CIE-LCH | lch(54.99, 78.06, 306.26°) |
| OKLab | oklab(63.14% 0.0795 -0.1789) |
| OKLCH | oklch(63.14% 0.196 294) |
| XYZ | xyz(33.2094, 22.9211, 86.6617) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.84
Mediumslateblue
#7B68EE
ΔE00 4.36
Lighter Purple
#A55AF4
ΔE00 4.73
Light Urple
#B36FF6
ΔE00 6.04
Purpley
#8756E4
ΔE00 6.34
Lightish Purple
#A552E6
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#936AF2 #C9F26A
analogous
#6A85F2 #936AF2 #D76AF2
triadic
#936AF2 #F2936A #6AF293
tetradic
#936AF2 #F26A85 #C9F26A #6AF2D7
square
#936AF2 #F26A85 #C9F26A #6AF2D7
split-complementary
#936AF2 #F2D76A #85F26A
monochromatic
#4B12CF #6A32ED #936AF2 #BCA2F7 #E5DBFC
Accessibility & contrast
On white
3.76
#936AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#936AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #936AF2
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##936AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##936AF2 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2085F7
Deuteranopia (green-blind)
#2F81EF
Tritanopia (blue-blind)
#7B87A4
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #936af2; /* rgb */ color: rgb(147, 106, 242); /* oklch */ color: oklch(63.1% 0.196 294.0);
Tailwind
colors: {
custom: {
50: '#b896f7',
500: '#936af2',
950: '#000000',
},
}SCSS
$custom: #936af2; $custom-light: #b896f7; $custom-dark: #000000;
JSON
{
"hex": "#936af2",
"rgb": {
"r": 147,
"g": 106,
"b": 242
},
"hsl": {
"h": 258.088,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.63135,
"c": 0.19581,
"h": 294
},
"luminance": 0.22922
}Semantic roles & 50–950 ramp
primary
#936AF2
secondary
#E4F1C7
accent
#E0059E
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85