#6752CE#6752CE
#6752CE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.8% C 0.184 H 286.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6752CE |
|---|---|
| RGB | rgb(103, 82, 206) |
| HSL | hsl(250, 56%, 56%) |
| HSV | hsv(250, 60%, 81%) |
| CMYK | cmyk(50%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(43.32, 40.45, -61.62) |
| CIE-LCH | lch(43.32, 73.71, 303.28°) |
| OKLab | oklab(52.83% 0.0507 -0.1764) |
| OKLCH | oklch(52.83% 0.184 286) |
| XYZ | xyz(19.7481, 13.3734, 59.9213) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.37
Light Indigo
#6D5ACF
ΔE00 2.50
Iris
#6258C4
ΔE00 2.56
Dark Periwinkle
#665FD1
ΔE00 4.03
Bluey Purple
#6241C7
ΔE00 4.69
Warm Blue
#4B57DB
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6752CE #B9CE52
analogous
#527BCE #6752CE #A552CE
triadic
#6752CE #CE6752 #52CE67
tetradic
#6752CE #CE527B #B9CE52 #52CEA5
square
#6752CE #CE527B #B9CE52 #52CEA5
split-complementary
#6752CE #CEA552 #7BCE52
monochromatic
#342581 #4832B1 #6752CE #9182DC #BBB1E9
Accessibility & contrast
On white
5.71
#6752CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#6752CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6752CE
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6752CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6752CE | 1.00 | 5.71 | 3.67 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#416F88
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6752ce; /* rgb */ color: rgb(103, 82, 206); /* oklch */ color: oklch(52.8% 0.184 286.0);
Tailwind
colors: {
custom: {
50: '#9a83de',
500: '#6752ce',
950: '#000000',
},
}SCSS
$custom: #6752ce; $custom-light: #9a83de; $custom-dark: #000000;
JSON
{
"hex": "#6752ce",
"rgb": {
"r": 103,
"g": 82,
"b": 206
},
"hsl": {
"h": 250.161,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.52831,
"c": 0.18354,
"h": 286
},
"luminance": 0.13374
}Semantic roles & 50–950 ramp
primary
#6752CE
secondary
#CFD7A4
accent
#DF49C6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83