#6952CF#6952CF
#6952CF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.185 H 286.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6952CF |
|---|---|
| RGB | rgb(105, 82, 207) |
| HSL | hsl(251, 57%, 57%) |
| HSV | hsv(251, 60%, 81%) |
| CMYK | cmyk(49.3%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(43.57, 41.14, -61.79) |
| CIE-LCH | lch(43.57, 74.23, 303.66°) |
| OKLab | oklab(53.08% 0.0533 -0.1768) |
| OKLCH | oklch(53.08% 0.185 286.8) |
| XYZ | xyz(20.1022, 13.5419, 60.5740) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.36
Light Indigo
#6D5ACF
ΔE00 2.39
Iris
#6258C4
ΔE00 2.80
Dark Periwinkle
#665FD1
ΔE00 4.07
Bluey Purple
#6241C7
ΔE00 4.77
Warm Blue
#4B57DB
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6952CF #B8CF52
analogous
#527ACF #6952CF #A852CF
triadic
#6952CF #CF6952 #52CF69
tetradic
#6952CF #CF527A #B8CF52 #52CFA8
square
#6952CF #CF527A #B8CF52 #52CFA8
split-complementary
#6952CF #CFA852 #7ACF52
monochromatic
#362482 #4931B2 #6952CF #9382DC #BCB2EA
Accessibility & contrast
On white
5.66
#6952CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#6952CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6952CF
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6952CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6952CF | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#456F89
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6952cf; /* rgb */ color: rgb(105, 82, 207); /* oklch */ color: oklch(53.1% 0.185 286.8);
Tailwind
colors: {
custom: {
50: '#9c83de',
500: '#6952cf',
950: '#000000',
},
}SCSS
$custom: #6952cf; $custom-light: #9c83de; $custom-dark: #000000;
JSON
{
"hex": "#6952cf",
"rgb": {
"r": 105,
"g": 82,
"b": 207
},
"hsl": {
"h": 251.04,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.53078,
"c": 0.18468,
"h": 286.8
},
"luminance": 0.13543
}Semantic roles & 50–950 ramp
primary
#6952CF
secondary
#CFD8A5
accent
#E048C4
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83