#6942E3#6942E3
#6942E3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.228 H 286.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6942E3 |
|---|---|
| RGB | rgb(105, 66, 227) |
| HSL | hsl(255, 74%, 57%) |
| HSV | hsv(255, 71%, 89%) |
| CMYK | cmyk(53.7%, 70.9%, 0%, 11%) |
| CIE-LAB | lab(41.91, 55.66, -75.93) |
| CIE-LCH | lch(41.91, 94.14, 306.24°) |
| OKLab | oklab(52.37% 0.0656 -0.2183) |
| OKLCH | oklch(52.37% 0.228 286.7) |
| XYZ | xyz(21.6349, 12.4446, 73.9202) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 1.63
Purpleish Blue
#6140EF
ΔE00 1.69
Purpley Blue
#5F34E7
ΔE00 3.10
Burple
#6832E3
ΔE00 3.12
Bluey Purple
#6241C7
ΔE00 3.94
Blurple
#5539CC
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6942E3 #BCE342
analogous
#426CE3 #6942E3 #B942E3
triadic
#6942E3 #E36942 #42E369
tetradic
#6942E3 #E3426C #BCE342 #42E3B9
square
#6942E3 #E3426C #BCE342 #42E3B9
split-complementary
#6942E3 #E3B942 #6CE342
monochromatic
#351695 #481ECA #6942E3 #9377EB #BEADF3
Accessibility & contrast
On white
6.02
#6942E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#6942E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6942E3
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6942E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6942E3 | 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)
#0067E8
Deuteranopia (green-blind)
#005EE0
Tritanopia (blue-blind)
#356D8E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6942e3; /* rgb */ color: rgb(105, 66, 227); /* oklch */ color: oklch(52.4% 0.228 286.7);
Tailwind
colors: {
custom: {
50: '#9f7aed',
500: '#6942e3',
950: '#000000',
},
}SCSS
$custom: #6942e3; $custom-light: #9f7aed; $custom-dark: #000000;
JSON
{
"hex": "#6942e3",
"rgb": {
"r": 105,
"g": 66,
"b": 227
},
"hsl": {
"h": 254.534,
"s": 74.194,
"l": 57.451
},
"oklch": {
"l": 0.52374,
"c": 0.22799,
"h": 286.7
},
"luminance": 0.12446
}Semantic roles & 50–950 ramp
primary
#6942E3
secondary
#D1E1A0
accent
#F137C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84