#6648E0#6648E0
#6648E0 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.218 H 285.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6648E0 |
|---|---|
| RGB | rgb(102, 72, 224) |
| HSL | hsl(252, 71%, 58%) |
| HSV | hsv(252, 68%, 88%) |
| CMYK | cmyk(54.5%, 67.9%, 0%, 12.2%) |
| CIE-LAB | lab(42.52, 51.21, -73.23) |
| CIE-LCH | lch(42.52, 89.36, 304.96°) |
| OKLab | oklab(52.66% 0.0571 -0.2106) |
| OKLCH | oklch(52.66% 0.218 285.2) |
| XYZ | xyz(21.2473, 12.8401, 71.8654) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.32
Bluish Purple
#703BE7
ΔE00 3.00
Bluey Purple
#6241C7
ΔE00 4.03
Purpley Blue
#5F34E7
ΔE00 4.22
Burple
#6832E3
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6648E0 #C2E048
analogous
#4876E0 #6648E0 #B248E0
triadic
#6648E0 #E06648 #48E066
tetradic
#6648E0 #E04876 #C2E048 #48E0B2
square
#6648E0 #E04876 #C2E048 #48E0B2
split-complementary
#6648E0 #E0B248 #76E048
monochromatic
#311994 #4322C9 #6648E0 #927CE9 #BEB1F2
Accessibility & contrast
On white
5.89
#6648E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#6648E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6648E0
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6648E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6648E0 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#0060DD
Tritanopia (blue-blind)
#2F6F8E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6648e0; /* rgb */ color: rgb(102, 72, 224); /* oklch */ color: oklch(52.7% 0.218 285.2);
Tailwind
colors: {
custom: {
50: '#9d7deb',
500: '#6648e0',
950: '#000000',
},
}SCSS
$custom: #6648e0; $custom-light: #9d7deb; $custom-dark: #000000;
JSON
{
"hex": "#6648e0",
"rgb": {
"r": 102,
"g": 72,
"b": 224
},
"hsl": {
"h": 251.842,
"s": 71.028,
"l": 58.039
},
"oklch": {
"l": 0.52663,
"c": 0.21816,
"h": 285.2
},
"luminance": 0.12841
}Semantic roles & 50–950 ramp
primary
#6648E0
secondary
#D4E0A4
accent
#EE3ACA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84