#6951CE#6951CE
#6951CE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.185 H 287.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #6951CE |
|---|---|
| RGB | rgb(105, 81, 206) |
| HSL | hsl(252, 56%, 56%) |
| HSV | hsv(252, 61%, 81%) |
| CMYK | cmyk(49%, 60.7%, 0%, 19.2%) |
| CIE-LAB | lab(43.28, 41.42, -61.68) |
| CIE-LCH | lch(43.28, 74.30, 303.88°) |
| OKLab | oklab(52.84% 0.0544 -0.1765) |
| OKLCH | oklch(52.84% 0.185 287.1) |
| XYZ | xyz(19.9054, 13.3434, 59.9073) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.64
Light Indigo
#6D5ACF
ΔE00 2.67
Iris
#6258C4
ΔE00 2.94
Dark Periwinkle
#665FD1
ΔE00 4.38
Bluey Purple
#6241C7
ΔE00 4.46
Warm Blue
#4B57DB
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6951CE #B6CE51
analogous
#5178CE #6951CE #A851CE
triadic
#6951CE #CE6951 #51CE69
tetradic
#6951CE #CE5178 #B6CE51 #51CEA8
square
#6951CE #CE5178 #B6CE51 #51CEA8
split-complementary
#6951CE #CEA851 #78CE51
monochromatic
#362480 #4A32B0 #6951CE #9281DB #BBB1E9
Accessibility & contrast
On white
5.72
#6951CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#6951CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6951CE
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6951CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6951CE | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#466E88
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6951ce; /* rgb */ color: rgb(105, 81, 206); /* oklch */ color: oklch(52.8% 0.185 287.1);
Tailwind
colors: {
custom: {
50: '#9b83de',
500: '#6951ce',
950: '#000000',
},
}SCSS
$custom: #6951ce; $custom-light: #9b83de; $custom-dark: #000000;
JSON
{
"hex": "#6951ce",
"rgb": {
"r": 105,
"g": 81,
"b": 206
},
"hsl": {
"h": 251.52,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.52842,
"c": 0.18471,
"h": 287.1
},
"luminance": 0.13344
}Semantic roles & 50–950 ramp
primary
#6951CE
secondary
#CDD7A4
accent
#DF48C2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83