#9D51DF#9D51DF
#9D51DF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.210 H 305.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9D51DF |
|---|---|
| RGB | rgb(157, 81, 223) |
| HSL | hsl(272, 69%, 60%) |
| HSV | hsv(272, 64%, 87%) |
| CMYK | cmyk(29.6%, 63.7%, 0%, 12.5%) |
| CIE-LAB | lab(49.95, 56.76, -60.33) |
| CIE-LCH | lch(49.95, 82.83, 313.25°) |
| OKLab | oklab(59.32% 0.1219 -0.1709) |
| OKLCH | oklch(59.32% 0.21 305.5) |
| XYZ | xyz(30.1634, 18.3809, 71.7565) |
| Luminance | 0.1838 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.78
Lighter Purple
#A55AF4
ΔE00 4.19
Purpley
#8756E4
ΔE00 4.25
Amethyst
#9B5FC0
ΔE00 5.99
Electric Purple
#AA23FF
ΔE00 6.32
Mediumorchid
#BA55D3
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D51DF #93DF51
analogous
#5651DF #9D51DF #DF51DA
triadic
#9D51DF #DF9D51 #51DF9D
tetradic
#9D51DF #DF5651 #93DF51 #51DADF
square
#9D51DF #DF5651 #93DF51 #51DADF
split-complementary
#9D51DF #DADF51 #51DF56
monochromatic
#5F1C99 #7F26CD #9D51DF #BA85E9 #D7B8F2
Accessibility & contrast
On white
4.49
#9D51DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#9D51DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D51DF
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D51DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D51DF | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#916F91
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9d51df; /* rgb */ color: rgb(157, 81, 223); /* oklch */ color: oklch(59.3% 0.210 305.5);
Tailwind
colors: {
custom: {
50: '#be86ea',
500: '#9d51df',
950: '#000000',
},
}SCSS
$custom: #9d51df; $custom-light: #be86ea; $custom-dark: #000000;
JSON
{
"hex": "#9d51df",
"rgb": {
"r": 157,
"g": 81,
"b": 223
},
"hsl": {
"h": 272.113,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.59323,
"c": 0.20992,
"h": 305.5
},
"luminance": 0.18381
}Semantic roles & 50–950 ramp
primary
#9D51DF
secondary
#C4E1AA
accent
#EC3C8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84