#7955CF#7955CF
#7955CF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.0% C 0.180 H 293.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7955CF |
|---|---|
| RGB | rgb(121, 85, 207) |
| HSL | hsl(258, 56%, 57%) |
| HSV | hsv(258, 59%, 81%) |
| CMYK | cmyk(41.5%, 58.9%, 0%, 18.8%) |
| CIE-LAB | lab(45.72, 42.76, -58.22) |
| CIE-LCH | lch(45.72, 72.24, 306.29°) |
| OKLab | oklab(55.02% 0.0709 -0.1658) |
| OKLCH | oklch(55.02% 0.18 293.1) |
| XYZ | xyz(22.3931, 15.0663, 60.7476) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.79
Slate Blue
#6A5ACD
ΔE00 3.29
Purpley
#8756E4
ΔE00 3.84
Iris
#6258C4
ΔE00 4.71
Dark Periwinkle
#665FD1
ΔE00 4.94
Royal Purple
#7851A9
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7955CF #ABCF55
analogous
#556ECF #7955CF #B655CF
triadic
#7955CF #CF7955 #55CF79
tetradic
#7955CF #CF556E #ABCF55 #55CFB6
square
#7955CF #CF556E #ABCF55 #55CFB6
split-complementary
#7955CF #CFB655 #6ECF55
monochromatic
#412584 #5933B4 #7955CF #9F85DC #C4B4EA
Accessibility & contrast
On white
5.23
#7955CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7955CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7955CF
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7955CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7955CF | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#126ACC
Tritanopia (blue-blind)
#62708A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7955cf; /* rgb */ color: rgb(121, 85, 207); /* oklch */ color: oklch(55.0% 0.180 293.1);
Tailwind
colors: {
custom: {
50: '#a586de',
500: '#7955cf',
950: '#000000',
},
}SCSS
$custom: #7955cf; $custom-light: #a586de; $custom-dark: #000000;
JSON
{
"hex": "#7955cf",
"rgb": {
"r": 121,
"g": 85,
"b": 207
},
"hsl": {
"h": 257.705,
"s": 55.963,
"l": 57.255
},
"oklch": {
"l": 0.55017,
"c": 0.18037,
"h": 293.1
},
"luminance": 0.15067
}Semantic roles & 50–950 ramp
primary
#7955CF
secondary
#CAD9A7
accent
#DF49B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83