#6752CF#6752CF
#6752CF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.185 H 285.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6752CF |
|---|---|
| RGB | rgb(103, 82, 207) |
| HSL | hsl(250, 57%, 57%) |
| HSV | hsv(250, 60%, 81%) |
| CMYK | cmyk(50.2%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(43.39, 40.75, -62.08) |
| CIE-LCH | lch(43.39, 74.26, 303.28°) |
| OKLab | oklab(52.91% 0.0507 -0.1777) |
| OKLCH | oklch(52.91% 0.185 285.9) |
| XYZ | xyz(19.8700, 13.4222, 60.5631) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.38
Light Indigo
#6D5ACF
ΔE00 2.49
Iris
#6258C4
ΔE00 2.64
Dark Periwinkle
#665FD1
ΔE00 4.00
Bluey Purple
#6241C7
ΔE00 4.73
Warm Blue
#4B57DB
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6752CF #BACF52
analogous
#527CCF #6752CF #A652CF
triadic
#6752CF #CF6752 #52CF67
tetradic
#6752CF #CF527C #BACF52 #52CFA6
square
#6752CF #CF527C #BACF52 #52CFA6
split-complementary
#6752CF #CFA652 #7CCF52
monochromatic
#342482 #4731B2 #6752CF #9182DC #BBB2EA
Accessibility & contrast
On white
5.70
#6752CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6752CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6752CF
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6752CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6752CF | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#416F89
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6752cf; /* rgb */ color: rgb(103, 82, 207); /* oklch */ color: oklch(52.9% 0.185 285.9);
Tailwind
colors: {
custom: {
50: '#9a83de',
500: '#6752cf',
950: '#000000',
},
}SCSS
$custom: #6752cf; $custom-light: #9a83de; $custom-dark: #000000;
JSON
{
"hex": "#6752cf",
"rgb": {
"r": 103,
"g": 82,
"b": 207
},
"hsl": {
"h": 250.08,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.52906,
"c": 0.18483,
"h": 285.9
},
"luminance": 0.13423
}Semantic roles & 50–950 ramp
primary
#6752CF
secondary
#CFD8A5
accent
#E048C6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83