#7F4FCF#7F4FCF
#7F4FCF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.189 H 297.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FCF |
|---|---|
| RGB | rgb(127, 79, 207) |
| HSL | hsl(263, 57%, 56%) |
| HSV | hsv(263, 62%, 81%) |
| CMYK | cmyk(38.6%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(45.09, 47.37, -59.21) |
| CIE-LCH | lch(45.09, 75.83, 308.66°) |
| OKLab | oklab(54.7% 0.0857 -0.1686) |
| OKLCH | oklch(54.7% 0.189 297) |
| XYZ | xyz(22.8080, 14.6086, 60.6375) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.96
Light Indigo
#6D5ACF
ΔE00 4.65
Slate Blue
#6A5ACD
ΔE00 5.10
Bluish Purple
#703BE7
ΔE00 5.81
Iris
#6258C4
ΔE00 6.27
Royal Purple
#7851A9
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FCF #9FCF4F
analogous
#4F5FCF #7F4FCF #BF4FCF
triadic
#7F4FCF #CF7F4F #4FCF7F
tetradic
#7F4FCF #CF4F5F #9FCF4F #4FCFBF
square
#7F4FCF #CF4F5F #9FCF4F #4FCFBF
split-complementary
#7F4FCF #CFBF4F #5FCF4F
monochromatic
#462381 #6030B1 #7F4FCF #A27FDC #C5AFE9
Accessibility & contrast
On white
5.35
#7F4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7F4FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FCF
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FCF | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0A69CC
Tritanopia (blue-blind)
#6C6B88
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7f4fcf; /* rgb */ color: rgb(127, 79, 207); /* oklch */ color: oklch(54.7% 0.189 297.0);
Tailwind
colors: {
custom: {
50: '#a983de',
500: '#7f4fcf',
950: '#000000',
},
}SCSS
$custom: #7f4fcf; $custom-light: #a983de; $custom-dark: #000000;
JSON
{
"hex": "#7f4fcf",
"rgb": {
"r": 127,
"g": 79,
"b": 207
},
"hsl": {
"h": 262.5,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.547,
"c": 0.18912,
"h": 297
},
"luminance": 0.14609
}Semantic roles & 50–950 ramp
primary
#7F4FCF
secondary
#C4D7A2
accent
#E047A7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83