#6951CF#6951CF
#6951CF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.186 H 287.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6951CF |
|---|---|
| RGB | rgb(105, 81, 207) |
| HSL | hsl(251, 57%, 56%) |
| HSV | hsv(251, 61%, 81%) |
| CMYK | cmyk(49.3%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(43.35, 41.72, -62.14) |
| CIE-LCH | lch(43.35, 74.85, 303.87°) |
| OKLab | oklab(52.92% 0.0543 -0.1779) |
| OKLCH | oklch(52.92% 0.186 287) |
| XYZ | xyz(20.0273, 13.3922, 60.5491) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.64
Light Indigo
#6D5ACF
ΔE00 2.66
Iris
#6258C4
ΔE00 3.00
Dark Periwinkle
#665FD1
ΔE00 4.35
Bluey Purple
#6241C7
ΔE00 4.50
Warm Blue
#4B57DB
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6951CF #B7CF51
analogous
#5178CF #6951CF #A851CF
triadic
#6951CF #CF6951 #51CF69
tetradic
#6951CF #CF5178 #B7CF51 #51CFA8
square
#6951CF #CF5178 #B7CF51 #51CFA8
split-complementary
#6951CF #CFA851 #78CF51
monochromatic
#362482 #4A31B2 #6951CF #9281DC #BCB1E9
Accessibility & contrast
On white
5.71
#6951CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6951CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6951CF
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6951CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6951CF | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#456F88
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6951cf; /* rgb */ color: rgb(105, 81, 207); /* oklch */ color: oklch(52.9% 0.186 287.0);
Tailwind
colors: {
custom: {
50: '#9c83de',
500: '#6951cf',
950: '#000000',
},
}SCSS
$custom: #6951cf; $custom-light: #9c83de; $custom-dark: #000000;
JSON
{
"hex": "#6951cf",
"rgb": {
"r": 105,
"g": 81,
"b": 207
},
"hsl": {
"h": 251.429,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.52917,
"c": 0.18599,
"h": 287
},
"luminance": 0.13393
}Semantic roles & 50–950 ramp
primary
#6951CF
secondary
#CED8A4
accent
#E048C3
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83