#7955CA#7955CA
#7955CA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.7% C 0.174 H 294.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7955CA |
|---|---|
| RGB | rgb(121, 85, 202) |
| HSL | hsl(258, 52%, 56%) |
| HSV | hsv(258, 58%, 79%) |
| CMYK | cmyk(40.1%, 57.9%, 0%, 20.8%) |
| CIE-LAB | lab(45.39, 41.39, -55.88) |
| CIE-LCH | lch(45.39, 69.54, 306.53°) |
| OKLab | oklab(54.67% 0.071 -0.159) |
| OKLCH | oklch(54.67% 0.174 294.1) |
| XYZ | xyz(21.7915, 14.8257, 57.5792) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.02
Slate Blue
#6A5ACD
ΔE00 3.45
Purpley
#8756E4
ΔE00 4.42
Iris
#6258C4
ΔE00 4.64
Dark Periwinkle
#665FD1
ΔE00 5.18
Royal Purple
#7851A9
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7955CA #A6CA55
analogous
#556CCA #7955CA #B455CA
triadic
#7955CA #CA7955 #55CA79
tetradic
#7955CA #CA556C #A6CA55 #55CAB4
square
#7955CA #CA556C #A6CA55 #55CAB4
split-complementary
#7955CA #CAB455 #6CCA55
monochromatic
#42277D #5A36AC #7955CA #9E84D9 #C3B2E7
Accessibility & contrast
On white
5.30
#7955CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7955CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7955CA
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7955CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7955CA | 1.00 | 5.30 | 3.97 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C6DCE
Deuteranopia (green-blind)
#1F69C7
Tritanopia (blue-blind)
#646E87
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7955ca; /* rgb */ color: rgb(121, 85, 202); /* oklch */ color: oklch(54.7% 0.174 294.1);
Tailwind
colors: {
custom: {
50: '#a586db',
500: '#7955ca',
950: '#000000',
},
}SCSS
$custom: #7955ca; $custom-light: #a586db; $custom-dark: #000000;
JSON
{
"hex": "#7955ca",
"rgb": {
"r": 121,
"g": 85,
"b": 202
},
"hsl": {
"h": 258.462,
"s": 52.466,
"l": 56.275
},
"oklch": {
"l": 0.54669,
"c": 0.1741,
"h": 294.1
},
"luminance": 0.14826
}Semantic roles & 50–950 ramp
primary
#7955CA
secondary
#C7D5A5
accent
#DC4CB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83