#9D62CD#9D62CD
#9D62CD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.6% C 0.165 H 307.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9D62CD |
|---|---|
| RGB | rgb(157, 98, 205) |
| HSL | hsl(273, 52%, 59%) |
| HSV | hsv(273, 52%, 80%) |
| CMYK | cmyk(23.4%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(52.19, 43.81, -46.52) |
| CIE-LCH | lch(52.19, 63.90, 313.28°) |
| OKLab | oklab(60.61% 0.1007 -0.1305) |
| OKLCH | oklch(60.61% 0.165 307.7) |
| XYZ | xyz(29.2895, 20.3116, 60.1233) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.41
Deep Lavender
#8D5EB7
ΔE00 4.65
Deep Lilac
#966EBD
ΔE00 4.81
Lightish Purple
#A552E6
ΔE00 5.02
Mediumpurple
#9370DB
ΔE00 5.33
Mediumorchid
#BA55D3
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D62CD #92CD62
analogous
#6862CD #9D62CD #CD62C8
triadic
#9D62CD #CD9D62 #62CD9D
tetradic
#9D62CD #CD6862 #92CD62 #62C8CD
square
#9D62CD #CD6862 #92CD62 #62C8CD
split-complementary
#9D62CD #C8CD62 #62CD68
monochromatic
#5F2C89 #7F3AB7 #9D62CD #BA90DC #D7BFEB
Accessibility & contrast
On white
4.15
#9D62CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#9D62CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D62CD
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D62CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D62CD | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#96758E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9d62cd; /* rgb */ color: rgb(157, 98, 205); /* oklch */ color: oklch(60.6% 0.165 307.7);
Tailwind
colors: {
custom: {
50: '#bc90dd',
500: '#9d62cd',
950: '#000000',
},
}SCSS
$custom: #9d62cd; $custom-light: #bc90dd; $custom-dark: #000000;
JSON
{
"hex": "#9d62cd",
"rgb": {
"r": 157,
"g": 98,
"b": 205
},
"hsl": {
"h": 273.084,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.60612,
"c": 0.16484,
"h": 307.7
},
"luminance": 0.20311
}Semantic roles & 50–950 ramp
primary
#9D62CD
secondary
#C3DAB1
accent
#DB4D8D
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83