#6843E2#6843E2
#6843E2 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.226 H 286.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6843E2 |
|---|---|
| RGB | rgb(104, 67, 226) |
| HSL | hsl(254, 73%, 57%) |
| HSV | hsv(254, 70%, 89%) |
| CMYK | cmyk(54%, 70.4%, 0%, 11.4%) |
| CIE-LAB | lab(41.92, 54.72, -75.35) |
| CIE-LCH | lch(41.92, 93.12, 305.98°) |
| OKLab | oklab(52.33% 0.0636 -0.2167) |
| OKLCH | oklch(52.33% 0.226 286.4) |
| XYZ | xyz(21.4394, 12.4472, 73.2096) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.75
Bluish Purple
#703BE7
ΔE00 1.90
Purpley Blue
#5F34E7
ΔE00 3.23
Burple
#6832E3
ΔE00 3.30
Bluey Purple
#6241C7
ΔE00 3.83
Blurple
#5539CC
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6843E2 #BDE243
analogous
#436EE2 #6843E2 #B743E2
triadic
#6843E2 #E26843 #43E268
tetradic
#6843E2 #E2436E #BDE243 #43E2B7
square
#6843E2 #E2436E #BDE243 #43E2B7
split-complementary
#6843E2 #E2B743 #6EE243
monochromatic
#341794 #471FC9 #6843E2 #9378EA #BDADF2
Accessibility & contrast
On white
6.02
#6843E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#6843E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6843E2
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6843E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6843E2 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#336D8E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6843e2; /* rgb */ color: rgb(104, 67, 226); /* oklch */ color: oklch(52.3% 0.226 286.4);
Tailwind
colors: {
custom: {
50: '#9f7aec',
500: '#6843e2',
950: '#000000',
},
}SCSS
$custom: #6843e2; $custom-light: #9f7aec; $custom-dark: #000000;
JSON
{
"hex": "#6843e2",
"rgb": {
"r": 104,
"g": 67,
"b": 226
},
"hsl": {
"h": 253.962,
"s": 73.272,
"l": 57.451
},
"oklch": {
"l": 0.52328,
"c": 0.22585,
"h": 286.4
},
"luminance": 0.12448
}Semantic roles & 50–950 ramp
primary
#6843E2
secondary
#D2E1A0
accent
#F038C5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84