#9C42CF#9C42CF
#9C42CF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.213 H 310.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9C42CF |
|---|---|
| RGB | rgb(156, 66, 207) |
| HSL | hsl(278, 59%, 54%) |
| HSV | hsv(278, 68%, 81%) |
| CMYK | cmyk(24.6%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(46.27, 59.94, -57.14) |
| CIE-LCH | lch(46.27, 82.81, 316.37°) |
| OKLab | oklab(56.32% 0.1385 -0.1615) |
| OKLCH | oklch(56.32% 0.213 310.6) |
| XYZ | xyz(26.9188, 15.4699, 60.5873) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.04
Purply
#983FB2
ΔE00 4.74
Vibrant Purple
#AD03DE
ΔE00 5.21
Lightish Purple
#A552E6
ΔE00 5.57
Blueviolet
#8A2BE2
ΔE00 6.04
Violet (survey)
#9A0EEA
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C42CF #75CF42
analogous
#5542CF #9C42CF #CF42BB
triadic
#9C42CF #CF9C42 #42CF9C
tetradic
#9C42CF #CF5542 #75CF42 #42BBCF
square
#9C42CF #CF5542 #75CF42 #42BBCF
split-complementary
#9C42CF #BBCF42 #42CF55
monochromatic
#581F78 #7B2BA9 #9C42CF #B673DB #CFA4E8
Accessibility & contrast
On white
5.13
#9C42CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#9C42CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C42CF
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C42CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C42CF | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#956084
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9c42cf; /* rgb */ color: rgb(156, 66, 207); /* oklch */ color: oklch(56.3% 0.213 310.6);
Tailwind
colors: {
custom: {
50: '#bd7dde',
500: '#9c42cf',
950: '#000000',
},
}SCSS
$custom: #9c42cf; $custom-light: #bd7dde; $custom-dark: #000000;
JSON
{
"hex": "#9c42cf",
"rgb": {
"r": 156,
"g": 66,
"b": 207
},
"hsl": {
"h": 278.298,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.56317,
"c": 0.21272,
"h": 310.6
},
"luminance": 0.15469
}Semantic roles & 50–950 ramp
primary
#9C42CF
secondary
#AED598
accent
#E3457E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83