#6648C7#6648C7
#6648C7 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.188 H 288.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #6648C7 |
|---|---|
| RGB | rgb(102, 72, 199) |
| HSL | hsl(254, 53%, 53%) |
| HSV | hsv(254, 64%, 78%) |
| CMYK | cmyk(48.7%, 63.8%, 0%, 22%) |
| CIE-LAB | lab(40.54, 43.95, -62.08) |
| CIE-LCH | lch(40.54, 76.07, 305.30°) |
| OKLab | oklab(50.62% 0.0603 -0.1778) |
| OKLCH | oklch(50.62% 0.188 288.7) |
| XYZ | xyz(18.1027, 11.5823, 55.3035) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.86
Blue With A Hint Of Purple
#533CC6
ΔE00 4.11
Blurple
#5539CC
ΔE00 4.39
Ocean Blue
#4F42B5
ΔE00 4.70
Iris
#6258C4
ΔE00 4.80
Bluish Purple
#703BE7
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6648C7 #A9C748
analogous
#4869C7 #6648C7 #A548C7
triadic
#6648C7 #C76648 #48C766
tetradic
#6648C7 #C74869 #A9C748 #48C7A5
square
#6648C7 #C74869 #A9C748 #48C7A5
split-complementary
#6648C7 #C7A548 #69C748
monochromatic
#352372 #4B31A1 #6648C7 #8D77D5 #B4A6E4
Accessibility & contrast
On white
6.33
#6648C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#6648C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6648C7
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6648C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6648C7 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#456681
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6648c7; /* rgb */ color: rgb(102, 72, 199); /* oklch */ color: oklch(50.6% 0.188 288.7);
Tailwind
colors: {
custom: {
50: '#997dd9',
500: '#6648c7',
950: '#000000',
},
}SCSS
$custom: #6648c7; $custom-light: #997dd9; $custom-dark: #000000;
JSON
{
"hex": "#6648c7",
"rgb": {
"r": 102,
"g": 72,
"b": 199
},
"hsl": {
"h": 254.173,
"s": 53.138,
"l": 53.137
},
"oklch": {
"l": 0.50623,
"c": 0.18776,
"h": 288.7
},
"luminance": 0.11583
}Semantic roles & 50–950 ramp
primary
#6648C7
secondary
#C4D19A
accent
#DD4BBA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83