#975DEF#975DEF
#975DEF is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.4% C 0.210 H 298.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #975DEF |
|---|---|
| RGB | rgb(151, 93, 239) |
| HSL | hsl(264, 82%, 65%) |
| HSV | hsv(264, 61%, 94%) |
| CMYK | cmyk(36.8%, 61.1%, 0%, 6.3%) |
| CIE-LAB | lab(52.55, 53.26, -65.18) |
| CIE-LCH | lch(52.55, 84.18, 309.25°) |
| OKLab | oklab(61.38% 0.0996 -0.1854) |
| OKLCH | oklch(61.38% 0.21 298.2) |
| XYZ | xyz(32.2529, 20.6396, 83.9292) |
| Luminance | 0.2064 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.46
Lightish Purple
#A552E6
ΔE00 3.74
Purpley
#8756E4
ΔE00 3.92
Mediumpurple
#9370DB
ΔE00 5.69
Mediumslateblue
#7B68EE
ΔE00 5.76
Light Urple
#B36FF6
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975DEF #B5EF5D
analogous
#5D6CEF #975DEF #E05DEF
triadic
#975DEF #EF975D #5DEF97
tetradic
#975DEF #EF5D6C #B5EF5D #5DEFE0
square
#975DEF #EF5D6C #B5EF5D #5DEFE0
split-complementary
#975DEF #EFE05D #6CEF5D
monochromatic
#5713BF #7325E9 #975DEF #BB95F5 #DFCCFA
Accessibility & contrast
On white
4.10
#975DEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#975DEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975DEF
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975DEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975DEF | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#1B7CEC
Tritanopia (blue-blind)
#837D9D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #975def; /* rgb */ color: rgb(151, 93, 239); /* oklch */ color: oklch(61.4% 0.210 298.2);
Tailwind
colors: {
custom: {
50: '#bb8ef5',
500: '#975def',
950: '#000000',
},
}SCSS
$custom: #975def; $custom-light: #bb8ef5; $custom-dark: #000000;
JSON
{
"hex": "#975def",
"rgb": {
"r": 151,
"g": 93,
"b": 239
},
"hsl": {
"h": 263.836,
"s": 82.022,
"l": 65.098
},
"oklch": {
"l": 0.61383,
"c": 0.21044,
"h": 298.2
},
"luminance": 0.2064
}Semantic roles & 50–950 ramp
primary
#975DEF
secondary
#D9EDBB
accent
#DE0789
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85