#6942C8#6942C8
#6942C8 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.196 H 291.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #6942C8 |
|---|---|
| RGB | rgb(105, 66, 200) |
| HSL | hsl(257, 55%, 52%) |
| HSV | hsv(257, 67%, 78%) |
| CMYK | cmyk(47.5%, 67%, 0%, 21.6%) |
| CIE-LAB | lab(39.70, 48.10, -64.03) |
| CIE-LCH | lch(39.70, 80.08, 306.91°) |
| OKLab | oklab(50.11% 0.0703 -0.1834) |
| OKLCH | oklch(50.11% 0.196 291) |
| XYZ | xyz(18.1963, 11.0691, 55.8102) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.19
Blurple
#5539CC
ΔE00 3.69
Blue With A Hint Of Purple
#533CC6
ΔE00 3.70
Bluish Purple
#703BE7
ΔE00 4.19
Burple
#6832E3
ΔE00 4.27
Purpley Blue
#5F34E7
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6942C8 #A1C842
analogous
#425EC8 #6942C8 #AC42C8
triadic
#6942C8 #C86942 #42C869
tetradic
#6942C8 #C8425E #A1C842 #42C8AC
square
#6942C8 #C8425E #A1C842 #42C8AC
split-complementary
#6942C8 #C8AC42 #5EC842
monochromatic
#37206F #4F2E9F #6942C8 #8F71D6 #B4A1E4
Accessibility & contrast
On white
6.53
#6942C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#6942C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6942C8
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6942C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6942C8 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#4B637F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #6942c8; /* rgb */ color: rgb(105, 66, 200); /* oklch */ color: oklch(50.1% 0.196 291.0);
Tailwind
colors: {
custom: {
50: '#9c79da',
500: '#6942c8',
950: '#000000',
},
}SCSS
$custom: #6942c8; $custom-light: #9c79da; $custom-dark: #000000;
JSON
{
"hex": "#6942c8",
"rgb": {
"r": 105,
"g": 66,
"b": 200
},
"hsl": {
"h": 257.463,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.50105,
"c": 0.19645,
"h": 291
},
"luminance": 0.1107
}Semantic roles & 50–950 ramp
primary
#6942C8
secondary
#BFD096
accent
#DE4AB3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83