#985CDC#985CDC
#985CDC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.1% C 0.190 H 302.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #985CDC |
|---|---|
| RGB | rgb(152, 92, 220) |
| HSL | hsl(268, 65%, 61%) |
| HSV | hsv(268, 58%, 86%) |
| CMYK | cmyk(30.9%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(51.26, 49.33, -56.56) |
| CIE-LCH | lch(51.26, 75.05, 311.10°) |
| OKLab | oklab(60.09% 0.1027 -0.16) |
| OKLCH | oklch(60.09% 0.19 302.7) |
| XYZ | xyz(29.6914, 19.4970, 69.8953) |
| Luminance | 0.1950 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.98
Lighter Purple
#A55AF4
ΔE00 3.81
Purpley
#8756E4
ΔE00 4.01
Amethyst
#9B5FC0
ΔE00 5.08
Mediumpurple
#9370DB
ΔE00 5.57
Deep Lavender
#8D5EB7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985CDC #A0DC5C
analogous
#5C60DC #985CDC #D85CDC
triadic
#985CDC #DC985C #5CDC98
tetradic
#985CDC #DC5C60 #A0DC5C #5CDCD8
square
#985CDC #DC5C60 #A0DC5C #5CDCD8
split-complementary
#985CDC #DCD85C #60DC5C
monochromatic
#5B229C #782CCE #985CDC #B88EE7 #D8C1F2
Accessibility & contrast
On white
4.29
#985CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#985CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #985CDC
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##985CDC | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F79E0
Deuteranopia (green-blind)
#3B7AD9
Tritanopia (blue-blind)
#8B7693
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #985cdc; /* rgb */ color: rgb(152, 92, 220); /* oklch */ color: oklch(60.1% 0.190 302.7);
Tailwind
colors: {
custom: {
50: '#ba8de7',
500: '#985cdc',
950: '#000000',
},
}SCSS
$custom: #985cdc; $custom-light: #ba8de7; $custom-dark: #000000;
JSON
{
"hex": "#985cdc",
"rgb": {
"r": 152,
"g": 92,
"b": 220
},
"hsl": {
"h": 268.125,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.60085,
"c": 0.1901,
"h": 302.7
},
"luminance": 0.19497
}Semantic roles & 50–950 ramp
primary
#985CDC
secondary
#CBE2B2
accent
#CC1978
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84