#7F4BCF#7F4BCF
#7F4BCF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.195 H 297.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4BCF |
|---|---|
| RGB | rgb(127, 75, 207) |
| HSL | hsl(264, 58%, 55%) |
| HSV | hsv(264, 64%, 81%) |
| CMYK | cmyk(38.6%, 63.8%, 0%, 18.8%) |
| CIE-LAB | lab(44.30, 49.51, -60.49) |
| CIE-LCH | lch(44.30, 78.17, 309.30°) |
| OKLab | oklab(54.13% 0.0902 -0.1723) |
| OKLCH | oklch(54.13% 0.195 297.6) |
| XYZ | xyz(22.5281, 14.0488, 60.5442) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.60
Bluish Purple
#703BE7
ΔE00 5.15
Light Indigo
#6D5ACF
ΔE00 5.34
Blueviolet
#8A2BE2
ΔE00 5.63
Slate Blue
#6A5ACD
ΔE00 5.75
Bluey Purple
#6241C7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4BCF #9BCF4B
analogous
#4B59CF #7F4BCF #C14BCF
triadic
#7F4BCF #CF7F4B #4BCF7F
tetradic
#7F4BCF #CF4B59 #9BCF4B #4BCFC1
square
#7F4BCF #CF4B59 #9BCF4B #4BCFC1
split-complementary
#7F4BCF #CFC14B #59CF4B
monochromatic
#46227E #612EAE #7F4BCF #A17BDC #C4ACE9
Accessibility & contrast
On white
5.51
#7F4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7F4BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4BCF
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4BCF | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#6C6986
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7f4bcf; /* rgb */ color: rgb(127, 75, 207); /* oklch */ color: oklch(54.1% 0.195 297.6);
Tailwind
colors: {
custom: {
50: '#aa80de',
500: '#7f4bcf',
950: '#000000',
},
}SCSS
$custom: #7f4bcf; $custom-light: #aa80de; $custom-dark: #000000;
JSON
{
"hex": "#7f4bcf",
"rgb": {
"r": 127,
"g": 75,
"b": 207
},
"hsl": {
"h": 263.636,
"s": 57.895,
"l": 55.294
},
"oklch": {
"l": 0.54127,
"c": 0.19451,
"h": 297.6
},
"luminance": 0.14049
}Semantic roles & 50–950 ramp
primary
#7F4BCF
secondary
#C1D69F
accent
#E147A4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83