#975FC2#975FC2
#975FC2 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.155 H 308.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #975FC2 |
|---|---|
| RGB | rgb(151, 95, 194) |
| HSL | hsl(274, 45%, 57%) |
| HSV | hsv(274, 51%, 76%) |
| CMYK | cmyk(22.2%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(50.29, 41.30, -43.27) |
| CIE-LCH | lch(50.29, 59.81, 313.67°) |
| OKLab | oklab(58.86% 0.0963 -0.1211) |
| OKLCH | oklch(58.86% 0.155 308.5) |
| XYZ | xyz(26.5904, 18.6591, 53.2293) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.07
Deep Lavender
#8D5EB7
ΔE00 2.55
Deep Lilac
#966EBD
ΔE00 4.75
Lightish Purple
#A552E6
ΔE00 6.18
Mediumpurple
#9370DB
ΔE00 6.73
Mediumorchid
#BA55D3
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975FC2 #8AC25F
analogous
#665FC2 #975FC2 #C25FBC
triadic
#975FC2 #C2975F #5FC297
tetradic
#975FC2 #C2665F #8AC25F #5FBCC2
square
#975FC2 #C2665F #8AC25F #5FBCC2
split-complementary
#975FC2 #BCC25F #5FC266
monochromatic
#582E79 #793FA5 #975FC2 #B48BD3 #D1B8E4
Accessibility & contrast
On white
4.44
#975FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#975FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #975FC2
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##975FC2 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4475C5
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#917088
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #975fc2; /* rgb */ color: rgb(151, 95, 194); /* oklch */ color: oklch(58.9% 0.155 308.5);
Tailwind
colors: {
custom: {
50: '#b88ed5',
500: '#975fc2',
950: '#000000',
},
}SCSS
$custom: #975fc2; $custom-light: #b88ed5; $custom-dark: #000000;
JSON
{
"hex": "#975fc2",
"rgb": {
"r": 151,
"g": 95,
"b": 194
},
"hsl": {
"h": 273.939,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.58861,
"c": 0.15479,
"h": 308.5
},
"luminance": 0.18659
}Semantic roles & 50–950 ramp
primary
#975FC2
secondary
#BCD3AA
accent
#D4538B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83