#6852CF#6852CF
#6852CF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.185 H 286.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6852CF |
|---|---|
| RGB | rgb(104, 82, 207) |
| HSL | hsl(251, 57%, 57%) |
| HSV | hsv(251, 60%, 81%) |
| CMYK | cmyk(49.8%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(43.48, 40.94, -61.93) |
| CIE-LCH | lch(43.48, 74.24, 303.47°) |
| OKLab | oklab(52.99% 0.052 -0.1773) |
| OKLCH | oklch(52.99% 0.185 286.3) |
| XYZ | xyz(19.9854, 13.4817, 60.5686) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.36
Light Indigo
#6D5ACF
ΔE00 2.43
Iris
#6258C4
ΔE00 2.72
Dark Periwinkle
#665FD1
ΔE00 4.04
Bluey Purple
#6241C7
ΔE00 4.75
Warm Blue
#4B57DB
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6852CF #B9CF52
analogous
#527BCF #6852CF #A752CF
triadic
#6852CF #CF6852 #52CF68
tetradic
#6852CF #CF527B #B9CF52 #52CFA7
square
#6852CF #CF527B #B9CF52 #52CFA7
split-complementary
#6852CF #CFA752 #7BCF52
monochromatic
#352482 #4831B2 #6852CF #9282DC #BCB2EA
Accessibility & contrast
On white
5.68
#6852CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#6852CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6852CF
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6852CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6852CF | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#436F89
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6852cf; /* rgb */ color: rgb(104, 82, 207); /* oklch */ color: oklch(53.0% 0.185 286.3);
Tailwind
colors: {
custom: {
50: '#9b83de',
500: '#6852cf',
950: '#000000',
},
}SCSS
$custom: #6852cf; $custom-light: #9b83de; $custom-dark: #000000;
JSON
{
"hex": "#6852cf",
"rgb": {
"r": 104,
"g": 82,
"b": 207
},
"hsl": {
"h": 250.56,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.52992,
"c": 0.18475,
"h": 286.3
},
"luminance": 0.13483
}Semantic roles & 50–950 ramp
primary
#6852CF
secondary
#CFD8A5
accent
#E048C5
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83