#6954C8#6954C8
#6954C8 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.9% C 0.173 H 287.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #6954C8 |
|---|---|
| RGB | rgb(105, 84, 200) |
| HSL | hsl(251, 51%, 56%) |
| HSV | hsv(251, 58%, 78%) |
| CMYK | cmyk(47.5%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(43.53, 37.90, -57.82) |
| CIE-LCH | lch(43.53, 69.13, 303.25°) |
| OKLab | oklab(52.89% 0.0513 -0.1651) |
| OKLCH | oklch(52.89% 0.173 287.3) |
| XYZ | xyz(19.4183, 13.5132, 56.2175) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.96
Iris
#6258C4
ΔE00 2.00
Light Indigo
#6D5ACF
ΔE00 2.13
Dark Periwinkle
#665FD1
ΔE00 3.81
Bluey Purple
#6241C7
ΔE00 5.17
Warm Blue
#4B57DB
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6954C8 #B3C854
analogous
#5479C8 #6954C8 #A354C8
triadic
#6954C8 #C86954 #54C869
tetradic
#6954C8 #C85479 #B3C854 #54C8A3
square
#6954C8 #C85479 #B3C854 #54C8A3
split-complementary
#6954C8 #C8A354 #79C854
monochromatic
#36277A #4B36A9 #6954C8 #9282D7 #BAB1E6
Accessibility & contrast
On white
5.67
#6954C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#6954C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6954C8
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6954C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6954C8 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#496E86
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6954c8; /* rgb */ color: rgb(105, 84, 200); /* oklch */ color: oklch(52.9% 0.173 287.3);
Tailwind
colors: {
custom: {
50: '#9b85d9',
500: '#6954c8',
950: '#000000',
},
}SCSS
$custom: #6954c8; $custom-light: #9b85d9; $custom-dark: #000000;
JSON
{
"hex": "#6954c8",
"rgb": {
"r": 105,
"g": 84,
"b": 200
},
"hsl": {
"h": 250.862,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.52892,
"c": 0.17294,
"h": 287.3
},
"luminance": 0.13514
}Semantic roles & 50–950 ramp
primary
#6954C8
secondary
#CBD4A4
accent
#DB4DC1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83