#7F50CA#7F50CA
#7F50CA is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.182 H 297.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7F50CA |
|---|---|
| RGB | rgb(127, 80, 202) |
| HSL | hsl(263, 54%, 55%) |
| HSV | hsv(263, 60%, 79%) |
| CMYK | cmyk(37.1%, 60.4%, 0%, 20.8%) |
| CIE-LAB | lab(44.96, 45.53, -56.55) |
| CIE-LCH | lch(44.96, 72.60, 308.84°) |
| OKLab | oklab(54.5% 0.0848 -0.1607) |
| OKLCH | oklch(54.5% 0.182 297.8) |
| XYZ | xyz(22.2790, 14.5133, 57.4932) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.45
Light Indigo
#6D5ACF
ΔE00 4.72
Slate Blue
#6A5ACD
ΔE00 5.14
Royal Purple
#7851A9
ΔE00 5.53
Iris
#6258C4
ΔE00 6.19
Bluish Purple
#703BE7
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F50CA #9BCA50
analogous
#505ECA #7F50CA #BC50CA
triadic
#7F50CA #CA7F50 #50CA7F
tetradic
#7F50CA #CA505E #9BCA50 #50CABC
square
#7F50CA #CA505E #9BCA50 #50CABC
split-complementary
#7F50CA #CABC50 #5ECA50
monochromatic
#46257A #6133A9 #7F50CA #A17FD8 #C4AEE6
Accessibility & contrast
On white
5.38
#7F50CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#7F50CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F50CA
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F50CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F50CA | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#1D69C7
Tritanopia (blue-blind)
#6E6A85
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7f50ca; /* rgb */ color: rgb(127, 80, 202); /* oklch */ color: oklch(54.5% 0.182 297.8);
Tailwind
colors: {
custom: {
50: '#a983db',
500: '#7f50ca',
950: '#000000',
},
}SCSS
$custom: #7f50ca; $custom-light: #a983db; $custom-dark: #000000;
JSON
{
"hex": "#7f50ca",
"rgb": {
"r": 127,
"g": 80,
"b": 202
},
"hsl": {
"h": 263.115,
"s": 53.509,
"l": 55.294
},
"oklch": {
"l": 0.54496,
"c": 0.18176,
"h": 297.8
},
"luminance": 0.14514
}Semantic roles & 50–950 ramp
primary
#7F50CA
secondary
#C1D4A1
accent
#DD4BA5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83