#6643E7#6643E7
#6643E7 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.232 H 285.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #6643E7 |
|---|---|
| RGB | rgb(102, 67, 231) |
| HSL | hsl(253, 77%, 58%) |
| HSV | hsv(253, 71%, 91%) |
| CMYK | cmyk(55.8%, 71%, 0%, 9.4%) |
| CIE-LAB | lab(42.17, 55.84, -77.80) |
| CIE-LCH | lch(42.17, 95.76, 305.67°) |
| OKLab | oklab(52.59% 0.0599 -0.2239) |
| OKLCH | oklch(52.59% 0.232 285) |
| XYZ | xyz(21.9061, 12.6073, 76.8650) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.16
Bluish Purple
#703BE7
ΔE00 2.05
Purpley Blue
#5F34E7
ΔE00 3.23
Burple
#6832E3
ΔE00 3.47
Bluey Purple
#6241C7
ΔE00 4.39
Blurple
#5539CC
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6643E7 #C4E743
analogous
#4372E7 #6643E7 #B843E7
triadic
#6643E7 #E76643 #43E766
tetradic
#6643E7 #E74372 #C4E743 #43E7B8
square
#6643E7 #E74372 #C4E743 #43E7B8
split-complementary
#6643E7 #E7B843 #72E743
monochromatic
#31149C #421BD2 #6643E7 #9279EE #BEB0F5
Accessibility & contrast
On white
5.96
#6643E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#6643E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6643E7
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6643E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6643E7 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068EC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#266F91
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6643e7; /* rgb */ color: rgb(102, 67, 231); /* oklch */ color: oklch(52.6% 0.232 285.0);
Tailwind
colors: {
custom: {
50: '#9e7af0',
500: '#6643e7',
950: '#000000',
},
}SCSS
$custom: #6643e7; $custom-light: #9e7af0; $custom-dark: #000000;
JSON
{
"hex": "#6643e7",
"rgb": {
"r": 102,
"g": 67,
"b": 231
},
"hsl": {
"h": 252.805,
"s": 77.358,
"l": 58.431
},
"oklch": {
"l": 0.52591,
"c": 0.23179,
"h": 285
},
"luminance": 0.12609
}Semantic roles & 50–950 ramp
primary
#6643E7
secondary
#D6E3A2
accent
#F434CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85