#9642F0#9642F0
#9642F0 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 58.0% C 0.244 H 300.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9642F0 |
|---|---|
| RGB | rgb(150, 66, 240) |
| HSL | hsl(269, 85%, 60%) |
| HSV | hsv(269, 73%, 94%) |
| CMYK | cmyk(37.5%, 72.5%, 0%, 5.9%) |
| CIE-LAB | lab(47.84, 66.19, -73.39) |
| CIE-LCH | lch(47.84, 98.83, 312.05°) |
| OKLab | oklab(58.01% 0.1255 -0.2094) |
| OKLCH | oklch(58.01% 0.244 300.9) |
| XYZ | xyz(30.2502, 16.6715, 84.0454) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Electric Purple
#AA23FF
ΔE00 3.81
Purpley
#8756E4
ΔE00 4.36
Bright Violet
#AD0AFD
ΔE00 4.76
Lightish Purple
#A552E6
ΔE00 4.82
Blueviolet
#8A2BE2
ΔE00 5.45
Vivid Purple
#9900FA
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9642F0 #9CF042
analogous
#4245F0 #9642F0 #ED42F0
triadic
#9642F0 #F09642 #42F096
tetradic
#9642F0 #F04245 #9CF042 #42F0ED
square
#9642F0 #F04245 #9CF042 #42F0ED
split-complementary
#9642F0 #F0ED42 #45F042
monochromatic
#590EAA #7712E3 #9642F0 #B67BF4 #D5B3F9
Accessibility & contrast
On white
4.84
#9642F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#9642F0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9642F0
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9642F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9642F0 | 1.00 | 4.84 | 4.33 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0070ED
Tritanopia (blue-blind)
#826E96
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9642f0; /* rgb */ color: rgb(150, 66, 240); /* oklch */ color: oklch(58.0% 0.244 300.9);
Tailwind
colors: {
custom: {
50: '#bc7ef6',
500: '#9642f0',
950: '#000000',
},
}SCSS
$custom: #9642f0; $custom-light: #bc7ef6; $custom-dark: #000000;
JSON
{
"hex": "#9642f0",
"rgb": {
"r": 150,
"g": 66,
"b": 240
},
"hsl": {
"h": 268.966,
"s": 85.294,
"l": 60
},
"oklch": {
"l": 0.58005,
"c": 0.24413,
"h": 300.9
},
"luminance": 0.16672
}Semantic roles & 50–950 ramp
primary
#9642F0
secondary
#C8E8A5
accent
#FC2C97
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130A17
muted
#827C85