#7F55CF#7F55CF
#7F55CF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.181 H 295.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7F55CF |
|---|---|
| RGB | rgb(127, 85, 207) |
| HSL | hsl(261, 56%, 57%) |
| HSV | hsv(261, 59%, 81%) |
| CMYK | cmyk(38.6%, 58.9%, 0%, 18.8%) |
| CIE-LAB | lab(46.33, 44.09, -57.22) |
| CIE-LCH | lch(46.33, 72.23, 307.61°) |
| OKLab | oklab(55.6% 0.0788 -0.1627) |
| OKLCH | oklch(55.6% 0.181 295.8) |
| XYZ | xyz(23.2605, 15.5136, 60.7883) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.32
Light Indigo
#6D5ACF
ΔE00 3.81
Slate Blue
#6A5ACD
ΔE00 4.34
Iris
#6258C4
ΔE00 5.79
Dark Periwinkle
#665FD1
ΔE00 5.87
Deep Lavender
#8D5EB7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F55CF #A5CF55
analogous
#5568CF #7F55CF #BC55CF
triadic
#7F55CF #CF7F55 #55CF7F
tetradic
#7F55CF #CF5568 #A5CF55 #55CFBC
square
#7F55CF #CF5568 #A5CF55 #55CFBC
split-complementary
#7F55CF #CFBC55 #68CF55
monochromatic
#462584 #5F33B4 #7F55CF #A385DC #C7B4EA
Accessibility & contrast
On white
5.12
#7F55CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#7F55CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F55CF
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F55CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F55CF | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD3
Deuteranopia (green-blind)
#1F6CCC
Tritanopia (blue-blind)
#6B6F8A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7f55cf; /* rgb */ color: rgb(127, 85, 207); /* oklch */ color: oklch(55.6% 0.181 295.8);
Tailwind
colors: {
custom: {
50: '#a986de',
500: '#7f55cf',
950: '#000000',
},
}SCSS
$custom: #7f55cf; $custom-light: #a986de; $custom-dark: #000000;
JSON
{
"hex": "#7f55cf",
"rgb": {
"r": 127,
"g": 85,
"b": 207
},
"hsl": {
"h": 260.656,
"s": 55.963,
"l": 57.255
},
"oklch": {
"l": 0.55601,
"c": 0.18078,
"h": 295.8
},
"luminance": 0.15514
}Semantic roles & 50–950 ramp
primary
#7F55CF
secondary
#C8D9A7
accent
#DF49AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83