#6B52E3#6B52E3
#6B52E3 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.8% C 0.210 H 285.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #6B52E3 |
|---|---|
| RGB | rgb(107, 82, 227) |
| HSL | hsl(250, 72%, 61%) |
| HSV | hsv(250, 64%, 89%) |
| CMYK | cmyk(52.9%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(45.23, 47.40, -70.50) |
| CIE-LCH | lch(45.23, 84.96, 303.91°) |
| OKLab | oklab(54.8% 0.0543 -0.2024) |
| OKLCH | oklch(54.8% 0.21 285) |
| XYZ | xyz(22.9417, 14.7052, 74.2877) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.42
Slate Blue
#6A5ACD
ΔE00 3.66
Purpleish Blue
#6140EF
ΔE00 4.41
Dark Periwinkle
#665FD1
ΔE00 4.53
Iris
#6258C4
ΔE00 4.89
Purpley
#8756E4
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B52E3 #CAE352
analogous
#5281E3 #6B52E3 #B352E3
triadic
#6B52E3 #E36B52 #52E36B
tetradic
#6B52E3 #E35281 #CAE352 #52E3B3
square
#6B52E3 #E35281 #CAE352 #52E3B3
split-complementary
#6B52E3 #E3B352 #81E352
monochromatic
#311AA1 #4123D5 #6B52E3 #9887EC #C5BBF4
Accessibility & contrast
On white
5.33
#6B52E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#6B52E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B52E3
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B52E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B52E3 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#397693
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6b52e3; /* rgb */ color: rgb(107, 82, 227); /* oklch */ color: oklch(54.8% 0.210 285.0);
Tailwind
colors: {
custom: {
50: '#9f84ed',
500: '#6b52e3',
950: '#000000',
},
}SCSS
$custom: #6b52e3; $custom-light: #9f84ed; $custom-dark: #000000;
JSON
{
"hex": "#6b52e3",
"rgb": {
"r": 107,
"g": 82,
"b": 227
},
"hsl": {
"h": 250.345,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.54796,
"c": 0.20957,
"h": 285
},
"luminance": 0.14706
}Semantic roles & 50–950 ramp
primary
#6B52E3
secondary
#DAE4AD
accent
#D411B3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84