#975ECF#975ECF
#975ECF is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.172 H 305.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #975ECF |
|---|---|
| RGB | rgb(151, 94, 207) |
| HSL | hsl(270, 54%, 59%) |
| HSV | hsv(270, 55%, 81%) |
| CMYK | cmyk(27.1%, 54.6%, 0%, 18.8%) |
| CIE-LAB | lab(50.79, 44.90, -49.92) |
| CIE-LCH | lch(50.79, 67.14, 311.97°) |
| OKLab | oklab(59.47% 0.0986 -0.1406) |
| OKLCH | oklch(59.47% 0.172 305) |
| XYZ | xyz(28.0253, 19.0899, 61.2277) |
| Luminance | 0.1909 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.10
Deep Lavender
#8D5EB7
ΔE00 4.27
Lightish Purple
#A552E6
ΔE00 4.35
Purpley
#8756E4
ΔE00 5.34
Lighter Purple
#A55AF4
ΔE00 5.61
Mediumpurple
#9370DB
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975ECF #96CF5E
analogous
#5F5ECF #975ECF #CF5ECF
triadic
#975ECF #CF975E #5ECF97
tetradic
#975ECF #CF5F5E #96CF5E #5ECFCF
square
#975ECF #CF5F5E #96CF5E #5ECFCF
split-complementary
#975ECF #CFCF5E #5ECF5F
monochromatic
#5A298A #7837B9 #975ECF #B58DDD #D4BCEB
Accessibility & contrast
On white
4.36
#975ECF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#975ECF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975ECF
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975ECF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975ECF | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#8D738E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #975ecf; /* rgb */ color: rgb(151, 94, 207); /* oklch */ color: oklch(59.5% 0.172 305.0);
Tailwind
colors: {
custom: {
50: '#b98ede',
500: '#975ecf',
950: '#000000',
},
}SCSS
$custom: #975ecf; $custom-light: #b98ede; $custom-dark: #000000;
JSON
{
"hex": "#975ecf",
"rgb": {
"r": 151,
"g": 94,
"b": 207
},
"hsl": {
"h": 270.265,
"s": 54.067,
"l": 59.02
},
"oklch": {
"l": 0.59467,
"c": 0.17171,
"h": 305
},
"luminance": 0.1909
}Semantic roles & 50–950 ramp
primary
#975ECF
secondary
#C4DBAE
accent
#DD4A93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83