#7F5CC0#7F5CC0
#7F5CC0 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.151 H 297.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5CC0 |
|---|---|
| RGB | rgb(127, 92, 192) |
| HSL | hsl(261, 44%, 56%) |
| HSV | hsv(261, 52%, 75%) |
| CMYK | cmyk(33.9%, 52.1%, 0%, 24.7%) |
| CIE-LAB | lab(46.94, 36.14, -47.59) |
| CIE-LCH | lch(46.94, 59.76, 307.21°) |
| OKLab | oklab(55.75% 0.0697 -0.1345) |
| OKLCH | oklch(55.75% 0.151 297.4) |
| XYZ | xyz(22.0916, 15.9718, 51.7779) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.05
Light Indigo
#6D5ACF
ΔE00 4.74
Royal Purple
#7851A9
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.08
Purpley
#8756E4
ΔE00 5.67
Iris
#6258C4
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5CC0 #9DC05C
analogous
#5C6BC0 #7F5CC0 #B15CC0
triadic
#7F5CC0 #C07F5C #5CC07F
tetradic
#7F5CC0 #C05C6B #9DC05C #5CC0B1
square
#7F5CC0 #C05C6B #9DC05C #5CC0B1
split-complementary
#7F5CC0 #C0B15C #6BC05C
monochromatic
#462D75 #613EA1 #7F5CC0 #A288D1 #C4B4E2
Accessibility & contrast
On white
5.01
#7F5CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#7F5CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F5CC0
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F5CC0 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3670C3
Deuteranopia (green-blind)
#3F6EBE
Tritanopia (blue-blind)
#717085
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7f5cc0; /* rgb */ color: rgb(127, 92, 192); /* oklch */ color: oklch(55.8% 0.151 297.4);
Tailwind
colors: {
custom: {
50: '#a78bd3',
500: '#7f5cc0',
950: '#000000',
},
}SCSS
$custom: #7f5cc0; $custom-light: #a78bd3; $custom-dark: #000000;
JSON
{
"hex": "#7f5cc0",
"rgb": {
"r": 127,
"g": 92,
"b": 192
},
"hsl": {
"h": 261,
"s": 44.248,
"l": 55.686
},
"oklch": {
"l": 0.55752,
"c": 0.15147,
"h": 297.4
},
"luminance": 0.15972
}Semantic roles & 50–950 ramp
primary
#7F5CC0
secondary
#C2D1A7
accent
#D454A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83