#6852CD#6852CD
#6852CD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.8% C 0.182 H 286.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6852CD |
|---|---|
| RGB | rgb(104, 82, 205) |
| HSL | hsl(251, 55%, 56%) |
| HSV | hsv(251, 60%, 80%) |
| CMYK | cmyk(49.3%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(43.34, 40.35, -61.01) |
| CIE-LCH | lch(43.34, 73.15, 303.48°) |
| OKLab | oklab(52.84% 0.0521 -0.1746) |
| OKLCH | oklch(52.84% 0.182 286.6) |
| XYZ | xyz(19.7424, 13.3845, 59.2890) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.36
Light Indigo
#6D5ACF
ΔE00 2.46
Iris
#6258C4
ΔE00 2.58
Dark Periwinkle
#665FD1
ΔE00 4.09
Bluey Purple
#6241C7
ΔE00 4.68
Warm Blue
#4B57DB
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6852CD #B7CD52
analogous
#527ACD #6852CD #A652CD
triadic
#6852CD #CD6852 #52CD68
tetradic
#6852CD #CD527A #B7CD52 #52CDA6
square
#6852CD #CD527A #B7CD52 #52CDA6
split-complementary
#6852CD #CDA652 #7ACD52
monochromatic
#352580 #4933AF #6852CD #9181DB #BBB1E8
Accessibility & contrast
On white
5.71
#6852CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6852CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6852CD
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6852CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6852CD | 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)
#006AD1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#446F88
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6852cd; /* rgb */ color: rgb(104, 82, 205); /* oklch */ color: oklch(52.8% 0.182 286.6);
Tailwind
colors: {
custom: {
50: '#9b83dd',
500: '#6852cd',
950: '#000000',
},
}SCSS
$custom: #6852cd; $custom-light: #9b83dd; $custom-dark: #000000;
JSON
{
"hex": "#6852cd",
"rgb": {
"r": 104,
"g": 82,
"b": 205
},
"hsl": {
"h": 250.732,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.52842,
"c": 0.18219,
"h": 286.6
},
"luminance": 0.13385
}Semantic roles & 50–950 ramp
primary
#6852CD
secondary
#CED7A4
accent
#DE49C4
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83