#983ED2#983ED2
#983ED2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.219 H 308.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #983ED2 |
|---|---|
| RGB | rgb(152, 62, 210) |
| HSL | hsl(276, 62%, 53%) |
| HSV | hsv(276, 70%, 82%) |
| CMYK | cmyk(27.6%, 70.5%, 0%, 17.6%) |
| CIE-LAB | lab(45.32, 61.50, -60.42) |
| CIE-LCH | lch(45.32, 86.22, 315.51°) |
| OKLab | oklab(55.59% 0.1371 -0.1712) |
| OKLCH | oklch(55.59% 0.219 308.7) |
| XYZ | xyz(26.3020, 14.7742, 62.4264) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.26
Blueviolet
#8A2BE2
ΔE00 4.73
Vibrant Purple
#AD03DE
ΔE00 4.77
Violet (survey)
#9A0EEA
ΔE00 5.16
Purply
#983FB2
ΔE00 5.18
Electric Purple
#AA23FF
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#983ED2 #78D23E
analogous
#4E3ED2 #983ED2 #D23EC2
triadic
#983ED2 #D2983E #3ED298
tetradic
#983ED2 #D24E3E #78D23E #3EC2D2
square
#983ED2 #D24E3E #78D23E #3EC2D2
split-complementary
#983ED2 #C2D23E #3ED24E
monochromatic
#551C79 #7828AB #983ED2 #B270DE #CDA1E9
Accessibility & contrast
On white
5.31
#983ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#983ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #983ED2
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##983ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##983ED2 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#196CCF
Tritanopia (blue-blind)
#8F5F84
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #983ed2; /* rgb */ color: rgb(152, 62, 210); /* oklch */ color: oklch(55.6% 0.219 308.7);
Tailwind
colors: {
custom: {
50: '#bb7be1',
500: '#983ed2',
950: '#000000',
},
}SCSS
$custom: #983ed2; $custom-light: #bb7be1; $custom-dark: #000000;
JSON
{
"hex": "#983ed2",
"rgb": {
"r": 152,
"g": 62,
"b": 210
},
"hsl": {
"h": 276.486,
"s": 62.185,
"l": 53.333
},
"oklch": {
"l": 0.55591,
"c": 0.21934,
"h": 308.7
},
"luminance": 0.14774
}Semantic roles & 50–950 ramp
primary
#983ED2
secondary
#AFD696
accent
#E54382
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83