#6954CF#6954CF
#6954CF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.182 H 286.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #6954CF |
|---|---|
| RGB | rgb(105, 84, 207) |
| HSL | hsl(250, 56%, 57%) |
| HSV | hsv(250, 59%, 81%) |
| CMYK | cmyk(49.3%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(44.01, 39.97, -61.06) |
| CIE-LCH | lch(44.01, 72.98, 303.21°) |
| OKLab | oklab(53.41% 0.0511 -0.1747) |
| OKLCH | oklch(53.41% 0.182 286.3) |
| XYZ | xyz(20.2552, 13.8479, 60.6250) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.79
Light Indigo
#6D5ACF
ΔE00 1.85
Iris
#6258C4
ΔE00 2.44
Dark Periwinkle
#665FD1
ΔE00 3.51
Warm Blue
#4B57DB
ΔE00 5.03
Bluey Purple
#6241C7
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6954CF #BACF54
analogous
#547DCF #6954CF #A754CF
triadic
#6954CF #CF6954 #54CF69
tetradic
#6954CF #CF547D #BACF54 #54CFA7
square
#6954CF #CF547D #BACF54 #54CFA7
split-complementary
#6954CF #CFA754 #7DCF54
monochromatic
#352584 #4832B3 #6954CF #9384DC #BDB4EA
Accessibility & contrast
On white
5.57
#6954CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#6954CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6954CF
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6954CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6954CF | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#457089
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6954cf; /* rgb */ color: rgb(105, 84, 207); /* oklch */ color: oklch(53.4% 0.182 286.3);
Tailwind
colors: {
custom: {
50: '#9b85de',
500: '#6954cf',
950: '#000000',
},
}SCSS
$custom: #6954cf; $custom-light: #9b85de; $custom-dark: #000000;
JSON
{
"hex": "#6954cf",
"rgb": {
"r": 105,
"g": 84,
"b": 207
},
"hsl": {
"h": 250.244,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.53405,
"c": 0.18203,
"h": 286.3
},
"luminance": 0.13849
}Semantic roles & 50–950 ramp
primary
#6954CF
secondary
#D0D8A6
accent
#DF48C6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83