#7F43CB#7F43CB
#7F43CB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.200 H 299.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7F43CB |
|---|---|
| RGB | rgb(127, 67, 203) |
| HSL | hsl(266, 57%, 53%) |
| HSV | hsv(266, 67%, 80%) |
| CMYK | cmyk(37.4%, 67%, 0%, 20.4%) |
| CIE-LAB | lab(42.52, 52.59, -61.08) |
| CIE-LCH | lch(42.52, 80.60, 310.73°) |
| OKLab | oklab(52.75% 0.0993 -0.174) |
| OKLCH | oklch(52.75% 0.2 299.7) |
| XYZ | xyz(21.5364, 12.8379, 57.8317) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.42
Bluish Purple
#703BE7
ΔE00 4.73
Darkorchid
#9932CC
ΔE00 4.97
Bluey Purple
#6241C7
ΔE00 5.07
Burple
#6832E3
ΔE00 5.85
Purpley
#8756E4
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F43CB #8FCB43
analogous
#434BCB #7F43CB #C343CB
triadic
#7F43CB #CB7F43 #43CB7F
tetradic
#7F43CB #CB434B #8FCB43 #43CBC3
square
#7F43CB #CB434B #8FCB43 #43CBC3
split-complementary
#7F43CB #CBC343 #4BCB43
monochromatic
#452074 #612DA4 #7F43CB #A073D8 #C0A3E6
Accessibility & contrast
On white
5.89
#7F43CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#7F43CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F43CB
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F43CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F43CB | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#6E6381
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7f43cb; /* rgb */ color: rgb(127, 67, 203); /* oklch */ color: oklch(52.8% 0.200 299.7);
Tailwind
colors: {
custom: {
50: '#aa7bdc',
500: '#7f43cb',
950: '#000000',
},
}SCSS
$custom: #7f43cb; $custom-light: #aa7bdc; $custom-dark: #000000;
JSON
{
"hex": "#7f43cb",
"rgb": {
"r": 127,
"g": 67,
"b": 203
},
"hsl": {
"h": 266.471,
"s": 56.667,
"l": 52.941
},
"oklch": {
"l": 0.52752,
"c": 0.20036,
"h": 299.7
},
"luminance": 0.12838
}Semantic roles & 50–950 ramp
primary
#7F43CB
secondary
#B8D298
accent
#E0489D
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83