#9F46CF#9F46CF
#9F46CF is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.209 H 311.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9F46CF |
|---|---|
| RGB | rgb(159, 70, 207) |
| HSL | hsl(279, 59%, 54%) |
| HSV | hsv(279, 66%, 81%) |
| CMYK | cmyk(23.2%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(47.31, 58.81, -55.44) |
| CIE-LCH | lch(47.31, 80.82, 316.69°) |
| OKLab | oklab(57.15% 0.138 -0.1564) |
| OKLCH | oklch(57.15% 0.209 311.4) |
| XYZ | xyz(27.7486, 16.2569, 60.6955) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.09
Lightish Purple
#A552E6
ΔE00 4.78
Purply
#983FB2
ΔE00 5.05
Vibrant Purple
#AD03DE
ΔE00 5.86
Amethyst
#9B5FC0
ΔE00 6.23
Electric Purple
#AA23FF
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F46CF #76CF46
analogous
#5B46CF #9F46CF #CF46BB
triadic
#9F46CF #CF9F46 #46CF9F
tetradic
#9F46CF #CF5B46 #76CF46 #46BBCF
square
#9F46CF #CF5B46 #76CF46 #46BBCF
split-complementary
#9F46CF #BBCF46 #46CF5B
monochromatic
#5B207B #7F2CAB #9F46CF #B877DC #D1A7E8
Accessibility & contrast
On white
4.94
#9F46CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#9F46CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F46CF
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F46CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F46CF | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#996285
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9f46cf; /* rgb */ color: rgb(159, 70, 207); /* oklch */ color: oklch(57.1% 0.209 311.4);
Tailwind
colors: {
custom: {
50: '#bf80de',
500: '#9f46cf',
950: '#000000',
},
}SCSS
$custom: #9f46cf; $custom-light: #bf80de; $custom-dark: #000000;
JSON
{
"hex": "#9f46cf",
"rgb": {
"r": 159,
"g": 70,
"b": 207
},
"hsl": {
"h": 278.978,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.57145,
"c": 0.20857,
"h": 311.4
},
"luminance": 0.16256
}Semantic roles & 50–950 ramp
primary
#9F46CF
secondary
#B0D59B
accent
#E2467D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83