#6752CC#6752CC
#6752CC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.7% C 0.181 H 286.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6752CC |
|---|---|
| RGB | rgb(103, 82, 204) |
| HSL | hsl(250, 54%, 56%) |
| HSV | hsv(250, 60%, 80%) |
| CMYK | cmyk(49.5%, 59.8%, 0%, 20%) |
| CIE-LAB | lab(43.18, 39.85, -60.70) |
| CIE-LCH | lch(43.18, 72.61, 303.29°) |
| OKLab | oklab(52.68% 0.0508 -0.1737) |
| OKLCH | oklch(52.68% 0.181 286.3) |
| XYZ | xyz(19.5067, 13.2769, 58.6499) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.39
Iris
#6258C4
ΔE00 2.43
Light Indigo
#6D5ACF
ΔE00 2.54
Dark Periwinkle
#665FD1
ΔE00 4.09
Bluey Purple
#6241C7
ΔE00 4.63
Warm Blue
#4B57DB
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6752CC #B7CC52
analogous
#527ACC #6752CC #A452CC
triadic
#6752CC #CC6752 #52CC67
tetradic
#6752CC #CC527A #B7CC52 #52CCA4
square
#6752CC #CC527A #B7CC52 #52CCA4
split-complementary
#6752CC #CCA452 #7ACC52
monochromatic
#35257E #4833AE #6752CC #9181DA #BAB1E8
Accessibility & contrast
On white
5.74
#6752CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#6752CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6752CC
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6752CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6752CC | 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)
#0069D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#436E87
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6752cc; /* rgb */ color: rgb(103, 82, 204); /* oklch */ color: oklch(52.7% 0.181 286.3);
Tailwind
colors: {
custom: {
50: '#9a83dc',
500: '#6752cc',
950: '#000000',
},
}SCSS
$custom: #6752cc; $custom-light: #9a83dc; $custom-dark: #000000;
JSON
{
"hex": "#6752cc",
"rgb": {
"r": 103,
"g": 82,
"b": 204
},
"hsl": {
"h": 250.328,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.52681,
"c": 0.18098,
"h": 286.3
},
"luminance": 0.13278
}Semantic roles & 50–950 ramp
primary
#6752CC
secondary
#CDD6A4
accent
#DE4AC4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83