#6954CB#6954CB
#6954CB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.1% C 0.177 H 286.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #6954CB |
|---|---|
| RGB | rgb(105, 84, 203) |
| HSL | hsl(251, 53%, 56%) |
| HSV | hsv(251, 59%, 80%) |
| CMYK | cmyk(48.3%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(43.73, 38.79, -59.21) |
| CIE-LCH | lch(43.73, 70.79, 303.23°) |
| OKLab | oklab(53.11% 0.0513 -0.1693) |
| OKLCH | oklch(53.11% 0.177 286.8) |
| XYZ | xyz(19.7724, 13.6548, 58.0822) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.82
Light Indigo
#6D5ACF
ΔE00 1.95
Iris
#6258C4
ΔE00 2.14
Dark Periwinkle
#665FD1
ΔE00 3.65
Bluey Purple
#6241C7
ΔE00 5.21
Warm Blue
#4B57DB
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6954CB #B6CB54
analogous
#547BCB #6954CB #A554CB
triadic
#6954CB #CB6954 #54CB69
tetradic
#6954CB #CB547B #B6CB54 #54CBA5
square
#6954CB #CB547B #B6CB54 #54CBA5
split-complementary
#6954CB #CBA554 #7BCB54
monochromatic
#36267E #4A35AD #6954CB #9283D9 #BBB2E8
Accessibility & contrast
On white
5.63
#6954CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#6954CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6954CB
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6954CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6954CB | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#476F87
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6954cb; /* rgb */ color: rgb(105, 84, 203); /* oklch */ color: oklch(53.1% 0.177 286.8);
Tailwind
colors: {
custom: {
50: '#9b85dc',
500: '#6954cb',
950: '#000000',
},
}SCSS
$custom: #6954cb; $custom-light: #9b85dc; $custom-dark: #000000;
JSON
{
"hex": "#6954cb",
"rgb": {
"r": 105,
"g": 84,
"b": 203
},
"hsl": {
"h": 250.588,
"s": 53.363,
"l": 56.275
},
"oklch": {
"l": 0.5311,
"c": 0.17685,
"h": 286.8
},
"luminance": 0.13656
}Semantic roles & 50–950 ramp
primary
#6954CB
secondary
#CDD6A5
accent
#DD4BC3
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83