#975CDB#975CDB
#975CDB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.9% C 0.189 H 302.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #975CDB |
|---|---|
| RGB | rgb(151, 92, 219) |
| HSL | hsl(268, 64%, 61%) |
| HSV | hsv(268, 58%, 86%) |
| CMYK | cmyk(31.1%, 58%, 0%, 14.1%) |
| CIE-LAB | lab(51.09, 48.85, -56.27) |
| CIE-LCH | lch(51.09, 74.52, 310.96°) |
| OKLab | oklab(59.92% 0.1014 -0.1592) |
| OKLCH | oklch(59.92% 0.189 302.5) |
| XYZ | xyz(29.3729, 19.3480, 69.1912) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.14
Purpley
#8756E4
ΔE00 3.91
Lighter Purple
#A55AF4
ΔE00 4.02
Amethyst
#9B5FC0
ΔE00 5.02
Mediumpurple
#9370DB
ΔE00 5.58
Deep Lavender
#8D5EB7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975CDB #A0DB5C
analogous
#5C60DB #975CDB #D65CDB
triadic
#975CDB #DB975C #5CDB97
tetradic
#975CDB #DB5C60 #A0DB5C #5CDBD6
square
#975CDB #DB5C60 #A0DB5C #5CDBD6
split-complementary
#975CDB #DBD65C #60DB5C
monochromatic
#5A229A #772DCD #975CDB #B78EE6 #D7C0F1
Accessibility & contrast
On white
4.31
#975CDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#975CDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975CDB
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975CDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975CDB | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2079DF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#8A7693
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #975cdb; /* rgb */ color: rgb(151, 92, 219); /* oklch */ color: oklch(59.9% 0.189 302.5);
Tailwind
colors: {
custom: {
50: '#b98ce7',
500: '#975cdb',
950: '#000000',
},
}SCSS
$custom: #975cdb; $custom-light: #b98ce7; $custom-dark: #000000;
JSON
{
"hex": "#975cdb",
"rgb": {
"r": 151,
"g": 92,
"b": 219
},
"hsl": {
"h": 267.874,
"s": 63.819,
"l": 60.98
},
"oklch": {
"l": 0.59915,
"c": 0.18873,
"h": 302.5
},
"luminance": 0.19348
}Semantic roles & 50–950 ramp
primary
#975CDB
secondary
#CBE1B1
accent
#CC1A79
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84