#9242CF#9242CF
#9242CF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.210 H 306.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9242CF |
|---|---|
| RGB | rgb(146, 66, 207) |
| HSL | hsl(274, 59%, 54%) |
| HSV | hsv(274, 68%, 81%) |
| CMYK | cmyk(29.5%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(44.96, 57.87, -59.32) |
| CIE-LCH | lch(44.96, 82.87, 314.29°) |
| OKLab | oklab(55.1% 0.1255 -0.1682) |
| OKLCH | oklch(55.1% 0.21 306.7) |
| XYZ | xyz(25.0624, 14.5127, 60.5003) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.79
Blueviolet
#8A2BE2
ΔE00 4.72
Purply
#983FB2
ΔE00 5.21
Violet (survey)
#9A0EEA
ΔE00 5.69
Vibrant Purple
#AD03DE
ΔE00 5.78
Purpley
#8756E4
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9242CF #7FCF42
analogous
#4B42CF #9242CF #CF42C5
triadic
#9242CF #CF9242 #42CF92
tetradic
#9242CF #CF4B42 #7FCF42 #42C5CF
square
#9242CF #CF4B42 #7FCF42 #42C5CF
split-complementary
#9242CF #C5CF42 #42CF4B
monochromatic
#511F78 #722BA9 #9242CF #AE73DB #CAA4E8
Accessibility & contrast
On white
5.38
#9242CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#9242CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9242CF
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9242CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9242CF | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#1A6BCC
Tritanopia (blue-blind)
#886183
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9242cf; /* rgb */ color: rgb(146, 66, 207); /* oklch */ color: oklch(55.1% 0.210 306.7);
Tailwind
colors: {
custom: {
50: '#b77cde',
500: '#9242cf',
950: '#000000',
},
}SCSS
$custom: #9242cf; $custom-light: #b77cde; $custom-dark: #000000;
JSON
{
"hex": "#9242cf",
"rgb": {
"r": 146,
"g": 66,
"b": 207
},
"hsl": {
"h": 274.043,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.55099,
"c": 0.20986,
"h": 306.7
},
"luminance": 0.14512
}Semantic roles & 50–950 ramp
primary
#9242CF
secondary
#B2D598
accent
#E34589
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83