#7943CB#7943CB
#7943CB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.200 H 297.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7943CB |
|---|---|
| RGB | rgb(121, 67, 203) |
| HSL | hsl(264, 57%, 53%) |
| HSV | hsv(264, 67%, 80%) |
| CMYK | cmyk(40.4%, 67%, 0%, 20.4%) |
| CIE-LAB | lab(41.83, 51.41, -62.22) |
| CIE-LCH | lch(41.83, 80.71, 309.56°) |
| OKLab | oklab(52.1% 0.0911 -0.1776) |
| OKLCH | oklch(52.1% 0.2 297.2) |
| XYZ | xyz(20.6690, 12.3907, 57.7910) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.99
Bluish Purple
#703BE7
ΔE00 4.15
Blueviolet
#8A2BE2
ΔE00 4.75
Burple
#6832E3
ΔE00 5.13
Purpleish Blue
#6140EF
ΔE00 5.87
Darkorchid
#9932CC
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7943CB #95CB43
analogous
#4351CB #7943CB #BD43CB
triadic
#7943CB #CB7943 #43CB79
tetradic
#7943CB #CB4351 #95CB43 #43CBBD
square
#7943CB #CB4351 #95CB43 #43CBBD
split-complementary
#7943CB #CBBD43 #51CB43
monochromatic
#412074 #5C2DA4 #7943CB #9B73D8 #BDA3E6
Accessibility & contrast
On white
6.04
#7943CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#7943CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7943CB
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7943CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7943CB | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#656381
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7943cb; /* rgb */ color: rgb(121, 67, 203); /* oklch */ color: oklch(52.1% 0.200 297.2);
Tailwind
colors: {
custom: {
50: '#a67bdc',
500: '#7943cb',
950: '#000000',
},
}SCSS
$custom: #7943cb; $custom-light: #a67bdc; $custom-dark: #000000;
JSON
{
"hex": "#7943cb",
"rgb": {
"r": 121,
"g": 67,
"b": 203
},
"hsl": {
"h": 263.824,
"s": 56.667,
"l": 52.941
},
"oklch": {
"l": 0.52104,
"c": 0.19958,
"h": 297.2
},
"luminance": 0.12391
}Semantic roles & 50–950 ramp
primary
#7943CB
secondary
#BBD298
accent
#E048A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83