#6752CA#6752CA
#6752CA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.5% C 0.178 H 286.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6752CA |
|---|---|
| RGB | rgb(103, 82, 202) |
| HSL | hsl(251, 53%, 56%) |
| HSV | hsv(251, 59%, 79%) |
| CMYK | cmyk(49%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(43.04, 39.26, -59.77) |
| CIE-LCH | lch(43.04, 71.52, 303.30°) |
| OKLab | oklab(52.53% 0.0509 -0.171) |
| OKLCH | oklch(52.53% 0.178 286.6) |
| XYZ | xyz(19.2684, 13.1815, 57.3947) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.32
Slate Blue
#6A5ACD
ΔE00 2.43
Light Indigo
#6D5ACF
ΔE00 2.61
Dark Periwinkle
#665FD1
ΔE00 4.17
Bluey Purple
#6241C7
ΔE00 4.59
Warm Blue
#4B57DB
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6752CA #B5CA52
analogous
#5279CA #6752CA #A352CA
triadic
#6752CA #CA6752 #52CA67
tetradic
#6752CA #CA5279 #B5CA52 #52CAA3
square
#6752CA #CA5279 #B5CA52 #52CAA3
split-complementary
#6752CA #CAA352 #79CA52
monochromatic
#35267C #4934AB #6752CA #9081D8 #B9B0E7
Accessibility & contrast
On white
5.77
#6752CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#6752CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6752CA
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6752CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6752CA | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#446E86
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6752ca; /* rgb */ color: rgb(103, 82, 202); /* oklch */ color: oklch(52.5% 0.178 286.6);
Tailwind
colors: {
custom: {
50: '#9a83db',
500: '#6752ca',
950: '#000000',
},
}SCSS
$custom: #6752ca; $custom-light: #9a83db; $custom-dark: #000000;
JSON
{
"hex": "#6752ca",
"rgb": {
"r": 103,
"g": 82,
"b": 202
},
"hsl": {
"h": 250.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.52532,
"c": 0.17839,
"h": 286.6
},
"luminance": 0.13182
}Semantic roles & 50–950 ramp
primary
#6752CA
secondary
#CCD5A3
accent
#DD4BC3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83