#7955CB#7955CB
#7955CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.7% C 0.175 H 293.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7955CB |
|---|---|
| RGB | rgb(121, 85, 203) |
| HSL | hsl(258, 53%, 56%) |
| HSV | hsv(258, 58%, 80%) |
| CMYK | cmyk(40.4%, 58.1%, 0%, 20.4%) |
| CIE-LAB | lab(45.46, 41.66, -56.35) |
| CIE-LCH | lch(45.46, 70.08, 306.48°) |
| OKLab | oklab(54.74% 0.071 -0.1603) |
| OKLCH | oklch(54.74% 0.175 293.9) |
| XYZ | xyz(21.9103, 14.8732, 58.2048) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.96
Slate Blue
#6A5ACD
ΔE00 3.40
Purpley
#8756E4
ΔE00 4.30
Iris
#6258C4
ΔE00 4.64
Dark Periwinkle
#665FD1
ΔE00 5.13
Royal Purple
#7851A9
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7955CB #A7CB55
analogous
#556CCB #7955CB #B455CB
triadic
#7955CB #CB7955 #55CB79
tetradic
#7955CB #CB556C #A7CB55 #55CBB4
square
#7955CB #CB556C #A7CB55 #55CBB4
split-complementary
#7955CB #CBB455 #6CCB55
monochromatic
#42277F #5A35AE #7955CB #9E84D9 #C3B3E8
Accessibility & contrast
On white
5.28
#7955CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7955CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7955CB
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7955CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7955CB | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#086DCF
Deuteranopia (green-blind)
#1D6AC8
Tritanopia (blue-blind)
#646F88
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7955cb; /* rgb */ color: rgb(121, 85, 203); /* oklch */ color: oklch(54.7% 0.175 293.9);
Tailwind
colors: {
custom: {
50: '#a586db',
500: '#7955cb',
950: '#000000',
},
}SCSS
$custom: #7955cb; $custom-light: #a586db; $custom-dark: #000000;
JSON
{
"hex": "#7955cb",
"rgb": {
"r": 121,
"g": 85,
"b": 203
},
"hsl": {
"h": 258.305,
"s": 53.153,
"l": 56.471
},
"oklch": {
"l": 0.54738,
"c": 0.17536,
"h": 293.9
},
"luminance": 0.14874
}Semantic roles & 50–950 ramp
primary
#7955CB
secondary
#C7D6A6
accent
#DD4BB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83