#6552C2#6552C2
#6552C2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.8% C 0.168 H 286.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #6552C2 |
|---|---|
| RGB | rgb(101, 82, 194) |
| HSL | hsl(250, 48%, 54%) |
| HSV | hsv(250, 58%, 76%) |
| CMYK | cmyk(47.9%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(42.30, 36.47, -56.34) |
| CIE-LCH | lch(42.30, 67.11, 302.91°) |
| OKLab | oklab(51.77% 0.0485 -0.1609) |
| OKLCH | oklch(51.77% 0.168 286.8) |
| XYZ | xyz(18.1189, 12.6955, 52.5243) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.05
Slate Blue
#6A5ACD
ΔE00 2.95
Light Indigo
#6D5ACF
ΔE00 3.26
Dark Periwinkle
#665FD1
ΔE00 4.60
Bluey Purple
#6241C7
ΔE00 4.62
Warm Blue
#4B57DB
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6552C2 #AFC252
analogous
#5277C2 #6552C2 #9D52C2
triadic
#6552C2 #C26552 #52C265
tetradic
#6552C2 #C25277 #AFC252 #52C29D
square
#6552C2 #C25277 #AFC252 #52C29D
split-complementary
#6552C2 #C29D52 #77C252
monochromatic
#352872 #49389F #6552C2 #8D7FD2 #B6ACE2
Accessibility & contrast
On white
5.93
#6552C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#6552C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6552C2
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6552C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6552C2 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#466B82
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6552c2; /* rgb */ color: rgb(101, 82, 194); /* oklch */ color: oklch(51.8% 0.168 286.8);
Tailwind
colors: {
custom: {
50: '#9783d5',
500: '#6552c2',
950: '#000000',
},
}SCSS
$custom: #6552c2; $custom-light: #9783d5; $custom-dark: #000000;
JSON
{
"hex": "#6552c2",
"rgb": {
"r": 101,
"g": 82,
"b": 194
},
"hsl": {
"h": 250.179,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.51771,
"c": 0.16806,
"h": 286.8
},
"luminance": 0.12696
}Semantic roles & 50–950 ramp
primary
#6552C2
secondary
#C8D0A0
accent
#D750C1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83