#7F55BA#7F55BA
#7F55BA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.155 H 300.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7F55BA |
|---|---|
| RGB | rgb(127, 85, 186) |
| HSL | hsl(265, 42%, 53%) |
| HSV | hsv(265, 54%, 73%) |
| CMYK | cmyk(31.7%, 54.3%, 0%, 27.1%) |
| CIE-LAB | lab(45.02, 38.60, -47.18) |
| CIE-LCH | lch(45.02, 60.96, 309.29°) |
| OKLab | oklab(54.22% 0.0786 -0.1332) |
| OKLCH | oklch(54.22% 0.155 300.5) |
| XYZ | xyz(20.8617, 14.5541, 48.1550) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.18
Deep Lavender
#8D5EB7
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 5.72
Slate Blue
#6A5ACD
ΔE00 5.99
Purpley
#8756E4
ΔE00 6.51
Iris
#6258C4
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F55BA #90BA55
analogous
#555EBA #7F55BA #B155BA
triadic
#7F55BA #BA7F55 #55BA7F
tetradic
#7F55BA #BA555E #90BA55 #55BAB1
square
#7F55BA #BA555E #90BA55 #55BAB1
split-complementary
#7F55BA #BAB155 #5EBA55
monochromatic
#452B6A #613D95 #7F55BA #A081CC #C1ACDD
Accessibility & contrast
On white
5.37
#7F55BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7F55BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F55BA
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F55BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F55BA | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#73697F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7f55ba; /* rgb */ color: rgb(127, 85, 186); /* oklch */ color: oklch(54.2% 0.155 300.5);
Tailwind
colors: {
custom: {
50: '#a786cf',
500: '#7f55ba',
950: '#000000',
},
}SCSS
$custom: #7f55ba; $custom-light: #a786cf; $custom-dark: #000000;
JSON
{
"hex": "#7f55ba",
"rgb": {
"r": 127,
"g": 85,
"b": 186
},
"hsl": {
"h": 264.95,
"s": 42.259,
"l": 53.137
},
"oklch": {
"l": 0.54215,
"c": 0.15467,
"h": 300.5
},
"luminance": 0.14554
}Semantic roles & 50–950 ramp
primary
#7F55BA
secondary
#B9CBA0
accent
#D2569E
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82