#8950D2#8950D2
#8950D2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.193 H 300.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8950D2 |
|---|---|
| RGB | rgb(137, 80, 210) |
| HSL | hsl(266, 59%, 57%) |
| HSV | hsv(266, 62%, 82%) |
| CMYK | cmyk(34.8%, 61.9%, 0%, 17.6%) |
| CIE-LAB | lab(46.59, 49.78, -58.47) |
| CIE-LCH | lch(46.59, 76.79, 310.41°) |
| OKLab | oklab(56.1% 0.0977 -0.166) |
| OKLCH | oklch(56.1% 0.193 300.5) |
| XYZ | xyz(24.8152, 15.7087, 62.6850) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.27
Lightish Purple
#A552E6
ΔE00 5.83
Light Indigo
#6D5ACF
ΔE00 5.95
Darkorchid
#9932CC
ΔE00 6.14
Deep Lavender
#8D5EB7
ΔE00 6.28
Slate Blue
#6A5ACD
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8950D2 #99D250
analogous
#5058D2 #8950D2 #CA50D2
triadic
#8950D2 #D28950 #50D289
tetradic
#8950D2 #D25058 #99D250 #50D2CA
square
#8950D2 #D25058 #99D250 #50D2CA
split-complementary
#8950D2 #D2CA50 #58D250
monochromatic
#4E2285 #6A2FB6 #8950D2 #AA81DF #CBB1EB
Accessibility & contrast
On white
5.07
#8950D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#8950D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8950D2
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8950D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8950D2 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#1F6ECF
Tritanopia (blue-blind)
#796C8A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8950d2; /* rgb */ color: rgb(137, 80, 210); /* oklch */ color: oklch(56.1% 0.193 300.5);
Tailwind
colors: {
custom: {
50: '#b084e1',
500: '#8950d2',
950: '#000000',
},
}SCSS
$custom: #8950d2; $custom-light: #b084e1; $custom-dark: #000000;
JSON
{
"hex": "#8950d2",
"rgb": {
"r": 137,
"g": 80,
"b": 210
},
"hsl": {
"h": 266.308,
"s": 59.091,
"l": 56.863
},
"oklch": {
"l": 0.561,
"c": 0.19267,
"h": 300.5
},
"luminance": 0.15709
}Semantic roles & 50–950 ramp
primary
#8950D2
secondary
#C2D9A4
accent
#E2469E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83