#6E52F2#6E52F2
#6E52F2 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.227 H 284.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6E52F2 |
|---|---|
| RGB | rgb(110, 82, 242) |
| HSL | hsl(251, 86%, 64%) |
| HSV | hsv(251, 66%, 95%) |
| CMYK | cmyk(54.5%, 66.1%, 0%, 5.1%) |
| CIE-LAB | lab(46.66, 52.28, -76.62) |
| CIE-LCH | lch(46.66, 92.76, 304.31°) |
| OKLab | oklab(56.26% 0.0565 -0.2203) |
| OKLCH | oklch(56.26% 0.227 284.4) |
| XYZ | xyz(25.4698, 15.7589, 85.6869) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.59
Purpleish Blue
#6140EF
ΔE00 4.78
Light Indigo
#6D5ACF
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.28
Bluish Purple
#703BE7
ΔE00 5.62
Dark Periwinkle
#665FD1
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E52F2 #D6F252
analogous
#5286F2 #6E52F2 #BE52F2
triadic
#6E52F2 #F26E52 #52F26E
tetradic
#6E52F2 #F25286 #D6F252 #52F2BE
square
#6E52F2 #F25286 #D6F252 #52F2BE
split-complementary
#6E52F2 #F2BE52 #86F252
monochromatic
#2C0EBC #3E19EE #6E52F2 #9E8BF6 #CDC4FB
Accessibility & contrast
On white
5.06
#6E52F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#6E52F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E52F2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E52F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E52F2 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#317B9B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6e52f2; /* rgb */ color: rgb(110, 82, 242); /* oklch */ color: oklch(56.3% 0.227 284.4);
Tailwind
colors: {
custom: {
50: '#a384f7',
500: '#6e52f2',
950: '#000000',
},
}SCSS
$custom: #6e52f2; $custom-light: #a384f7; $custom-dark: #000000;
JSON
{
"hex": "#6e52f2",
"rgb": {
"r": 110,
"g": 82,
"b": 242
},
"hsl": {
"h": 250.5,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.56256,
"c": 0.2274,
"h": 284.4
},
"luminance": 0.1576
}Semantic roles & 50–950 ramp
primary
#6E52F2
secondary
#E2ECB4
accent
#E303BB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85