#7F55CA#7F55CA
#7F55CA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.175 H 296.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7F55CA |
|---|---|
| RGB | rgb(127, 85, 202) |
| HSL | hsl(262, 52%, 56%) |
| HSV | hsv(262, 58%, 79%) |
| CMYK | cmyk(37.1%, 57.9%, 0%, 20.8%) |
| CIE-LAB | lab(46.01, 42.76, -54.86) |
| CIE-LCH | lch(46.01, 69.56, 307.93°) |
| OKLab | oklab(55.26% 0.0789 -0.1558) |
| OKLCH | oklch(55.26% 0.175 296.9) |
| XYZ | xyz(22.6589, 15.2729, 57.6198) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.01
Light Indigo
#6D5ACF
ΔE00 4.05
Slate Blue
#6A5ACD
ΔE00 4.52
Royal Purple
#7851A9
ΔE00 5.65
Iris
#6258C4
ΔE00 5.79
Deep Lavender
#8D5EB7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F55CA #A0CA55
analogous
#5566CA #7F55CA #B955CA
triadic
#7F55CA #CA7F55 #55CA7F
tetradic
#7F55CA #CA5566 #A0CA55 #55CAB9
square
#7F55CA #CA5566 #A0CA55 #55CAB9
split-complementary
#7F55CA #CAB955 #66CA55
monochromatic
#46277D #6036AC #7F55CA #A284D9 #C5B2E7
Accessibility & contrast
On white
5.18
#7F55CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#7F55CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F55CA
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F55CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F55CA | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#146DCE
Deuteranopia (green-blind)
#286CC7
Tritanopia (blue-blind)
#6D6E87
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7f55ca; /* rgb */ color: rgb(127, 85, 202); /* oklch */ color: oklch(55.3% 0.175 296.9);
Tailwind
colors: {
custom: {
50: '#a986db',
500: '#7f55ca',
950: '#000000',
},
}SCSS
$custom: #7f55ca; $custom-light: #a986db; $custom-dark: #000000;
JSON
{
"hex": "#7f55ca",
"rgb": {
"r": 127,
"g": 85,
"b": 202
},
"hsl": {
"h": 261.538,
"s": 52.466,
"l": 56.275
},
"oklch": {
"l": 0.5526,
"c": 0.17462,
"h": 296.9
},
"luminance": 0.15273
}Semantic roles & 50–950 ramp
primary
#7F55CA
secondary
#C4D5A5
accent
#DC4CA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83