#975FDA#975FDA
#975FDA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.183 H 302.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #975FDA |
|---|---|
| RGB | rgb(151, 95, 218) |
| HSL | hsl(267, 62%, 61%) |
| HSV | hsv(267, 56%, 85%) |
| CMYK | cmyk(30.7%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(51.64, 47.01, -54.83) |
| CIE-LCH | lch(51.64, 72.22, 310.61°) |
| OKLab | oklab(60.3% 0.0977 -0.155) |
| OKLCH | oklch(60.3% 0.183 302.2) |
| XYZ | xyz(29.5067, 19.8256, 68.5883) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.64
Lighter Purple
#A55AF4
ΔE00 4.12
Purpley
#8756E4
ΔE00 4.39
Amethyst
#9B5FC0
ΔE00 4.83
Mediumpurple
#9370DB
ΔE00 4.83
Deep Lavender
#8D5EB7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975FDA #A2DA5F
analogous
#5F65DA #975FDA #D55FDA
triadic
#975FDA #DA975F #5FDA97
tetradic
#975FDA #DA5F65 #A2DA5F #5FDAD5
square
#975FDA #DA5F65 #A2DA5F #5FDAD5
split-complementary
#975FDA #DAD55F #65DA5F
monochromatic
#5A249B #772FCD #975FDA #B791E5 #D8C2F1
Accessibility & contrast
On white
4.23
#975FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#975FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975FDA
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975FDA | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B7ADE
Deuteranopia (green-blind)
#417BD7
Tritanopia (blue-blind)
#8A7793
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #975fda; /* rgb */ color: rgb(151, 95, 218); /* oklch */ color: oklch(60.3% 0.183 302.2);
Tailwind
colors: {
custom: {
50: '#b98ee6',
500: '#975fda',
950: '#000000',
},
}SCSS
$custom: #975fda; $custom-light: #b98ee6; $custom-dark: #000000;
JSON
{
"hex": "#975fda",
"rgb": {
"r": 151,
"g": 95,
"b": 218
},
"hsl": {
"h": 267.317,
"s": 62.437,
"l": 61.373
},
"oklch": {
"l": 0.60297,
"c": 0.18317,
"h": 302.2
},
"luminance": 0.19826
}Semantic roles & 50–950 ramp
primary
#975FDA
secondary
#CCE1B3
accent
#CA1B7B
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84