#9640F9#9640F9
#9640F9 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.5% C 0.255 H 299.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9640F9 |
|---|---|
| RGB | rgb(150, 64, 249) |
| HSL | hsl(268, 94%, 61%) |
| HSV | hsv(268, 74%, 98%) |
| CMYK | cmyk(39.8%, 74.3%, 0%, 2.4%) |
| CIE-LAB | lab(48.25, 69.11, -77.77) |
| CIE-LCH | lch(48.25, 104.04, 311.62°) |
| OKLab | oklab(58.51% 0.1252 -0.2223) |
| OKLCH | oklch(58.51% 0.255 299.4) |
| XYZ | xyz(31.5056, 16.9900, 91.2237) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Electric Purple
#AA23FF
ΔE00 3.54
Bright Violet
#AD0AFD
ΔE00 4.62
Purpley
#8756E4
ΔE00 4.77
Lightish Purple
#A552E6
ΔE00 5.28
Vivid Purple
#9900FA
ΔE00 5.51
Neon Purple
#BC13FE
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9640F9 #A3F940
analogous
#4047F9 #9640F9 #F340F9
triadic
#9640F9 #F99640 #40F996
tetradic
#9640F9 #F94047 #A3F940 #40F9F3
square
#9640F9 #F94047 #A3F940 #40F9F3
split-complementary
#9640F9 #F9F340 #47F940
monochromatic
#5906B9 #7608F4 #9640F9 #B77BFB #D7B7FD
Accessibility & contrast
On white
4.77
#9640F9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#9640F9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9640F9
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9640F9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9640F9 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072FE
Deuteranopia (green-blind)
#0071F5
Tritanopia (blue-blind)
#7E719A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9640f9; /* rgb */ color: rgb(150, 64, 249); /* oklch */ color: oklch(58.5% 0.255 299.4);
Tailwind
colors: {
custom: {
50: '#bd7dfc',
500: '#9640f9',
950: '#000000',
},
}SCSS
$custom: #9640f9; $custom-light: #bd7dfc; $custom-dark: #000000;
JSON
{
"hex": "#9640f9",
"rgb": {
"r": 150,
"g": 64,
"b": 249
},
"hsl": {
"h": 267.892,
"s": 93.909,
"l": 61.373
},
"oklch": {
"l": 0.58506,
"c": 0.25513,
"h": 299.4
},
"luminance": 0.1699
}Semantic roles & 50–950 ramp
primary
#9640F9
secondary
#CDEDA8
accent
#E6007B
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130A18
muted
#827C86