#7843CB#7843CB
#7843CB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.199 H 296.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7843CB |
|---|---|
| RGB | rgb(120, 67, 203) |
| HSL | hsl(263, 57%, 53%) |
| HSV | hsv(263, 67%, 80%) |
| CMYK | cmyk(40.9%, 67%, 0%, 20.4%) |
| CIE-LAB | lab(41.72, 51.21, -62.41) |
| CIE-LCH | lch(41.72, 80.73, 309.37°) |
| OKLab | oklab(52% 0.0897 -0.1782) |
| OKLCH | oklch(52% 0.199 296.7) |
| XYZ | xyz(20.5296, 12.3188, 57.7845) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.81
Bluish Purple
#703BE7
ΔE00 4.08
Blueviolet
#8A2BE2
ΔE00 4.83
Burple
#6832E3
ΔE00 5.02
Purpleish Blue
#6140EF
ΔE00 5.76
Purpley Blue
#5F34E7
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7843CB #96CB43
analogous
#4352CB #7843CB #BC43CB
triadic
#7843CB #CB7843 #43CB78
tetradic
#7843CB #CB4352 #96CB43 #43CBBC
square
#7843CB #CB4352 #96CB43 #43CBBC
split-complementary
#7843CB #CBBC43 #52CB43
monochromatic
#412074 #5B2DA4 #7843CB #9A73D8 #BDA3E6
Accessibility & contrast
On white
6.06
#7843CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#7843CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7843CB
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7843CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7843CB | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#636381
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7843cb; /* rgb */ color: rgb(120, 67, 203); /* oklch */ color: oklch(52.0% 0.199 296.7);
Tailwind
colors: {
custom: {
50: '#a57bdc',
500: '#7843cb',
950: '#000000',
},
}SCSS
$custom: #7843cb; $custom-light: #a57bdc; $custom-dark: #000000;
JSON
{
"hex": "#7843cb",
"rgb": {
"r": 120,
"g": 67,
"b": 203
},
"hsl": {
"h": 263.382,
"s": 56.667,
"l": 52.941
},
"oklch": {
"l": 0.51998,
"c": 0.19948,
"h": 296.7
},
"luminance": 0.12319
}Semantic roles & 50–950 ramp
primary
#7843CB
secondary
#BBD298
accent
#E048A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83