#6E52CF#6E52CF
#6E52CF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.184 H 288.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #6E52CF |
|---|---|
| RGB | rgb(110, 82, 207) |
| HSL | hsl(253, 57%, 57%) |
| HSV | hsv(253, 60%, 81%) |
| CMYK | cmyk(46.9%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(44.02, 42.14, -61.03) |
| CIE-LCH | lch(44.02, 74.16, 304.63°) |
| OKLab | oklab(53.52% 0.0598 -0.1744) |
| OKLCH | oklch(53.52% 0.184 288.9) |
| XYZ | xyz(20.7070, 13.8538, 60.6024) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.35
Slate Blue
#6A5ACD
ΔE00 2.53
Iris
#6258C4
ΔE00 3.35
Dark Periwinkle
#665FD1
ΔE00 4.37
Bluey Purple
#6241C7
ΔE00 4.99
Purpley
#8756E4
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E52CF #B3CF52
analogous
#5275CF #6E52CF #AD52CF
triadic
#6E52CF #CF6E52 #52CF6E
tetradic
#6E52CF #CF5275 #B3CF52 #52CFAD
square
#6E52CF #CF5275 #B3CF52 #52CFAD
split-complementary
#6E52CF #CFAD52 #75CF52
monochromatic
#392482 #4E31B2 #6E52CF #9682DC #BEB2EA
Accessibility & contrast
On white
5.57
#6E52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#6E52CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E52CF
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E52CF | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#4F6F89
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6e52cf; /* rgb */ color: rgb(110, 82, 207); /* oklch */ color: oklch(53.5% 0.184 288.9);
Tailwind
colors: {
custom: {
50: '#9f84de',
500: '#6e52cf',
950: '#000000',
},
}SCSS
$custom: #6e52cf; $custom-light: #9f84de; $custom-dark: #000000;
JSON
{
"hex": "#6e52cf",
"rgb": {
"r": 110,
"g": 82,
"b": 207
},
"hsl": {
"h": 253.44,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.5352,
"c": 0.18441,
"h": 288.9
},
"luminance": 0.13855
}Semantic roles & 50–950 ramp
primary
#6E52CF
secondary
#CDD8A5
accent
#E048BE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83