#6648CF#6648CF
#6648CF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.198 H 287.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #6648CF |
|---|---|
| RGB | rgb(102, 72, 207) |
| HSL | hsl(253, 58%, 55%) |
| HSV | hsv(253, 65%, 81%) |
| CMYK | cmyk(50.7%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(41.16, 46.27, -65.71) |
| CIE-LCH | lch(41.16, 80.37, 305.15°) |
| OKLab | oklab(51.26% 0.0594 -0.1885) |
| OKLCH | oklch(51.26% 0.198 287.5) |
| XYZ | xyz(19.0560, 11.9636, 60.3245) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.23
Bluish Purple
#703BE7
ΔE00 4.06
Purpleish Blue
#6140EF
ΔE00 4.17
Blue With A Hint Of Purple
#533CC6
ΔE00 4.32
Blurple
#5539CC
ΔE00 4.41
Burple
#6832E3
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6648CF #B1CF48
analogous
#486ECF #6648CF #A948CF
triadic
#6648CF #CF6648 #48CF66
tetradic
#6648CF #CF486E #B1CF48 #48CFA9
square
#6648CF #CF486E #B1CF48 #48CFA9
split-complementary
#6648CF #CFA948 #6ECF48
monochromatic
#35217C #4A2DAD #6648CF #8F78DC #B7A9E8
Accessibility & contrast
On white
6.19
#6648CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#6648CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6648CF
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6648CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6648CF | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#3F6985
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6648cf; /* rgb */ color: rgb(102, 72, 207); /* oklch */ color: oklch(51.3% 0.198 287.5);
Tailwind
colors: {
custom: {
50: '#9a7ddf',
500: '#6648cf',
950: '#000000',
},
}SCSS
$custom: #6648cf; $custom-light: #9a7ddf; $custom-dark: #000000;
JSON
{
"hex": "#6648cf",
"rgb": {
"r": 102,
"g": 72,
"b": 207
},
"hsl": {
"h": 253.333,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.51259,
"c": 0.19763,
"h": 287.5
},
"luminance": 0.11965
}Semantic roles & 50–950 ramp
primary
#6648CF
secondary
#C9D69D
accent
#E246BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83