#7F55CB#7F55CB
#7F55CB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.176 H 296.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7F55CB |
|---|---|
| RGB | rgb(127, 85, 203) |
| HSL | hsl(261, 53%, 56%) |
| HSV | hsv(261, 58%, 80%) |
| CMYK | cmyk(37.4%, 58.1%, 0%, 20.4%) |
| CIE-LAB | lab(46.07, 43.03, -55.34) |
| CIE-LCH | lch(46.07, 70.10, 307.87°) |
| OKLab | oklab(55.33% 0.0789 -0.1572) |
| OKLCH | oklch(55.33% 0.176 296.6) |
| XYZ | xyz(22.7776, 15.3204, 58.2454) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.48
Iris
#6258C4
ΔE00 5.78
Royal Purple
#7851A9
ΔE00 5.80
Deep Lavender
#8D5EB7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F55CB #A1CB55
analogous
#5566CB #7F55CB #BA55CB
triadic
#7F55CB #CB7F55 #55CB7F
tetradic
#7F55CB #CB5566 #A1CB55 #55CBBA
square
#7F55CB #CB5566 #A1CB55 #55CBBA
split-complementary
#7F55CB #CBBA55 #66CB55
monochromatic
#46277F #6035AE #7F55CB #A284D9 #C6B3E8
Accessibility & contrast
On white
5.17
#7F55CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#7F55CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F55CB
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F55CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F55CB | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#116ECF
Deuteranopia (green-blind)
#276CC8
Tritanopia (blue-blind)
#6D6E88
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7f55cb; /* rgb */ color: rgb(127, 85, 203); /* oklch */ color: oklch(55.3% 0.176 296.6);
Tailwind
colors: {
custom: {
50: '#a986db',
500: '#7f55cb',
950: '#000000',
},
}SCSS
$custom: #7f55cb; $custom-light: #a986db; $custom-dark: #000000;
JSON
{
"hex": "#7f55cb",
"rgb": {
"r": 127,
"g": 85,
"b": 203
},
"hsl": {
"h": 261.356,
"s": 53.153,
"l": 56.471
},
"oklch": {
"l": 0.55328,
"c": 0.17585,
"h": 296.6
},
"luminance": 0.15321
}Semantic roles & 50–950 ramp
primary
#7F55CB
secondary
#C5D6A6
accent
#DD4BA9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83