#6843E0#6843E0
#6843E0 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.224 H 286.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6843E0 |
|---|---|
| RGB | rgb(104, 67, 224) |
| HSL | hsl(254, 72%, 57%) |
| HSV | hsv(254, 70%, 88%) |
| CMYK | cmyk(53.6%, 70.1%, 0%, 12.2%) |
| CIE-LAB | lab(41.75, 54.15, -74.49) |
| CIE-LCH | lch(41.75, 92.10, 306.02°) |
| OKLab | oklab(52.15% 0.064 -0.2142) |
| OKLCH | oklch(52.15% 0.224 286.6) |
| XYZ | xyz(21.1666, 12.3381, 71.7727) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.96
Bluish Purple
#703BE7
ΔE00 1.96
Purpley Blue
#5F34E7
ΔE00 3.22
Burple
#6832E3
ΔE00 3.26
Bluey Purple
#6241C7
ΔE00 3.58
Blurple
#5539CC
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6843E0 #BBE043
analogous
#436DE0 #6843E0 #B643E0
triadic
#6843E0 #E06843 #43E068
tetradic
#6843E0 #E0436D #BBE043 #43E0B6
square
#6843E0 #E0436D #BBE043 #43E0B6
split-complementary
#6843E0 #E0B643 #6DE043
monochromatic
#341891 #4721C5 #6843E0 #9278E9 #BCACF1
Accessibility & contrast
On white
6.06
#6843E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#6843E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6843E0
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6843E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6843E0 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#005EDD
Tritanopia (blue-blind)
#356C8D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6843e0; /* rgb */ color: rgb(104, 67, 224); /* oklch */ color: oklch(52.2% 0.224 286.6);
Tailwind
colors: {
custom: {
50: '#9e7aeb',
500: '#6843e0',
950: '#000000',
},
}SCSS
$custom: #6843e0; $custom-light: #9e7aeb; $custom-dark: #000000;
JSON
{
"hex": "#6843e0",
"rgb": {
"r": 104,
"g": 67,
"b": 224
},
"hsl": {
"h": 254.14,
"s": 71.689,
"l": 57.059
},
"oklch": {
"l": 0.52155,
"c": 0.22353,
"h": 286.6
},
"luminance": 0.12339
}Semantic roles & 50–950 ramp
primary
#6843E0
secondary
#D0DF9F
accent
#EE39C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84