#9D70C8#9D70C8
#9D70C8 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.6% C 0.136 H 306.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9D70C8 |
|---|---|
| RGB | rgb(157, 112, 200) |
| HSL | hsl(271, 44%, 61%) |
| HSV | hsv(271, 44%, 78%) |
| CMYK | cmyk(21.5%, 44%, 0%, 21.6%) |
| CIE-LAB | lab(55.00, 34.87, -39.22) |
| CIE-LCH | lch(55.00, 52.48, 311.64°) |
| OKLab | oklab(62.62% 0.0807 -0.1093) |
| OKLCH | oklch(62.62% 0.136 306.4) |
| XYZ | xyz(30.1220, 22.9268, 57.4708) |
| Luminance | 0.2293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.24
Mediumpurple
#9370DB
ΔE00 4.66
Amethyst
#9B5FC0
ΔE00 5.04
Soft Purple
#A66FB5
ΔE00 5.19
Wisteria
#A87DC2
ΔE00 5.31
Deep Lavender
#8D5EB7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D70C8 #9BC870
analogous
#7170C8 #9D70C8 #C870C7
triadic
#9D70C8 #C89D70 #70C89D
tetradic
#9D70C8 #C87170 #9BC870 #70C7C8
square
#9D70C8 #C87170 #9BC870 #70C7C8
split-complementary
#9D70C8 #C7C870 #70C871
monochromatic
#603589 #7F46B5 #9D70C8 #BB9CD9 #DAC8EA
Accessibility & contrast
On white
3.76
#9D70C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#9D70C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D70C8
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D70C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D70C8 | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B82CB
Deuteranopia (green-blind)
#6684C6
Tritanopia (blue-blind)
#977E92
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9d70c8; /* rgb */ color: rgb(157, 112, 200); /* oklch */ color: oklch(62.6% 0.136 306.4);
Tailwind
colors: {
custom: {
50: '#bb9ad9',
500: '#9d70c8',
950: '#000000',
},
}SCSS
$custom: #9d70c8; $custom-light: #bb9ad9; $custom-dark: #000000;
JSON
{
"hex": "#9d70c8",
"rgb": {
"r": 157,
"g": 112,
"b": 200
},
"hsl": {
"h": 270.682,
"s": 44.444,
"l": 61.176
},
"oklch": {
"l": 0.62623,
"c": 0.13589,
"h": 306.4
},
"luminance": 0.22927
}Semantic roles & 50–950 ramp
primary
#9D70C8
secondary
#CADAB9
accent
#B82E71
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83