#6B52CD#6B52CD
#6B52CD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.182 H 287.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #6B52CD |
|---|---|
| RGB | rgb(107, 82, 205) |
| HSL | hsl(252, 55%, 56%) |
| HSV | hsv(252, 60%, 80%) |
| CMYK | cmyk(47.8%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(43.61, 40.95, -60.56) |
| CIE-LCH | lch(43.61, 73.11, 304.07°) |
| OKLab | oklab(53.1% 0.056 -0.1732) |
| OKLCH | oklch(53.1% 0.182 287.9) |
| XYZ | xyz(20.0970, 13.5673, 59.3056) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.37
Slate Blue
#6A5ACD
ΔE00 2.39
Iris
#6258C4
ΔE00 2.88
Dark Periwinkle
#665FD1
ΔE00 4.23
Bluey Purple
#6241C7
ΔE00 4.77
Warm Blue
#4B57DB
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B52CD #B4CD52
analogous
#5277CD #6B52CD #A952CD
triadic
#6B52CD #CD6B52 #52CD6B
tetradic
#6B52CD #CD5277 #B4CD52 #52CDA9
square
#6B52CD #CD5277 #B4CD52 #52CDA9
split-complementary
#6B52CD #CDA952 #77CD52
monochromatic
#372580 #4C33AF #6B52CD #9481DB #BCB1E8
Accessibility & contrast
On white
5.65
#6B52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#6B52CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B52CD
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B52CD | 1.00 | 5.65 | 3.71 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#4A6E88
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6b52cd; /* rgb */ color: rgb(107, 82, 205); /* oklch */ color: oklch(53.1% 0.182 287.9);
Tailwind
colors: {
custom: {
50: '#9c84dd',
500: '#6b52cd',
950: '#000000',
},
}SCSS
$custom: #6b52cd; $custom-light: #9c84dd; $custom-dark: #000000;
JSON
{
"hex": "#6b52cd",
"rgb": {
"r": 107,
"g": 82,
"b": 205
},
"hsl": {
"h": 252.195,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.53104,
"c": 0.182,
"h": 287.9
},
"luminance": 0.13568
}Semantic roles & 50–950 ramp
primary
#6B52CD
secondary
#CCD7A4
accent
#DE49C0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83