#9742F0#9742F0
#9742F0 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 58.1% C 0.244 H 301.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9742F0 |
|---|---|
| RGB | rgb(151, 66, 240) |
| HSL | hsl(269, 85%, 60%) |
| HSV | hsv(269, 73%, 94%) |
| CMYK | cmyk(37.1%, 72.5%, 0%, 5.9%) |
| CIE-LAB | lab(47.96, 66.36, -73.18) |
| CIE-LCH | lch(47.96, 98.79, 312.20°) |
| OKLab | oklab(58.12% 0.1268 -0.2088) |
| OKLCH | oklch(58.12% 0.244 301.3) |
| XYZ | xyz(30.4351, 16.7668, 84.0541) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Electric Purple
#AA23FF
ΔE00 3.72
Purpley
#8756E4
ΔE00 4.42
Lightish Purple
#A552E6
ΔE00 4.68
Bright Violet
#AD0AFD
ΔE00 4.69
Blueviolet
#8A2BE2
ΔE00 5.55
Vivid Purple
#9900FA
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9742F0 #9BF042
analogous
#4244F0 #9742F0 #EE42F0
triadic
#9742F0 #F09742 #42F097
tetradic
#9742F0 #F04244 #9BF042 #42F0EE
square
#9742F0 #F04244 #9BF042 #42F0EE
split-complementary
#9742F0 #F0EE42 #44F042
monochromatic
#5A0EAA #7812E3 #9742F0 #B67BF4 #D5B3F9
Accessibility & contrast
On white
4.82
#9742F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#9742F0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9742F0
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9742F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9742F0 | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#836E96
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9742f0; /* rgb */ color: rgb(151, 66, 240); /* oklch */ color: oklch(58.1% 0.244 301.3);
Tailwind
colors: {
custom: {
50: '#bc7ef6',
500: '#9742f0',
950: '#000000',
},
}SCSS
$custom: #9742f0; $custom-light: #bc7ef6; $custom-dark: #000000;
JSON
{
"hex": "#9742f0",
"rgb": {
"r": 151,
"g": 66,
"b": 240
},
"hsl": {
"h": 269.31,
"s": 85.294,
"l": 60
},
"oklch": {
"l": 0.58117,
"c": 0.24429,
"h": 301.3
},
"luminance": 0.16767
}Semantic roles & 50–950 ramp
primary
#9742F0
secondary
#C8E8A5
accent
#FC2C96
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130A17
muted
#827C85