#6952CA#6952CA
#6952CA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.7% C 0.178 H 287.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6952CA |
|---|---|
| RGB | rgb(105, 82, 202) |
| HSL | hsl(252, 53%, 56%) |
| HSV | hsv(252, 59%, 79%) |
| CMYK | cmyk(48%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(43.21, 39.67, -59.48) |
| CIE-LCH | lch(43.21, 71.49, 303.70°) |
| OKLab | oklab(52.71% 0.0535 -0.17) |
| OKLCH | oklch(52.71% 0.178 287.5) |
| XYZ | xyz(19.5006, 13.3013, 57.4056) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.42
Iris
#6258C4
ΔE00 2.52
Light Indigo
#6D5ACF
ΔE00 2.52
Dark Periwinkle
#665FD1
ΔE00 4.25
Bluey Purple
#6241C7
ΔE00 4.63
Warm Blue
#4B57DB
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6952CA #B3CA52
analogous
#5277CA #6952CA #A552CA
triadic
#6952CA #CA6952 #52CA69
tetradic
#6952CA #CA5277 #B3CA52 #52CAA5
square
#6952CA #CA5277 #B3CA52 #52CAA5
split-complementary
#6952CA #CAA552 #77CA52
monochromatic
#36267C #4B34AB #6952CA #9281D8 #BAB0E7
Accessibility & contrast
On white
5.74
#6952CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#6952CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6952CA
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6952CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6952CA | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#486E86
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6952ca; /* rgb */ color: rgb(105, 82, 202); /* oklch */ color: oklch(52.7% 0.178 287.5);
Tailwind
colors: {
custom: {
50: '#9b83db',
500: '#6952ca',
950: '#000000',
},
}SCSS
$custom: #6952ca; $custom-light: #9b83db; $custom-dark: #000000;
JSON
{
"hex": "#6952ca",
"rgb": {
"r": 105,
"g": 82,
"b": 202
},
"hsl": {
"h": 251.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.52706,
"c": 0.17825,
"h": 287.5
},
"luminance": 0.13302
}Semantic roles & 50–950 ramp
primary
#6952CA
secondary
#CBD5A3
accent
#DD4BC1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83