#6645C8#6645C8
#6645C8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.193 H 289.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #6645C8 |
|---|---|
| RGB | rgb(102, 69, 200) |
| HSL | hsl(255, 54%, 53%) |
| HSV | hsv(255, 66%, 78%) |
| CMYK | cmyk(49%, 65.5%, 0%, 21.6%) |
| CIE-LAB | lab(40.00, 45.92, -63.55) |
| CIE-LCH | lch(40.00, 78.40, 305.85°) |
| OKLab | oklab(50.25% 0.0632 -0.1821) |
| OKLCH | oklch(50.25% 0.193 289.1) |
| XYZ | xyz(18.0299, 11.2504, 55.8539) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.18
Blue With A Hint Of Purple
#533CC6
ΔE00 3.62
Blurple
#5539CC
ΔE00 3.78
Bluish Purple
#703BE7
ΔE00 4.50
Ocean Blue
#4F42B5
ΔE00 4.61
Burple
#6832E3
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6645C8 #A7C845
analogous
#4565C8 #6645C8 #A845C8
triadic
#6645C8 #C86645 #45C866
tetradic
#6645C8 #C84565 #A7C845 #45C8A8
square
#6645C8 #C84565 #A7C845 #45C8A8
split-complementary
#6645C8 #C8A845 #65C845
monochromatic
#362171 #4C2FA0 #6645C8 #8D74D6 #B4A3E4
Accessibility & contrast
On white
6.46
#6645C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#6645C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6645C8
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6645C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6645C8 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#456580
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #6645c8; /* rgb */ color: rgb(102, 69, 200); /* oklch */ color: oklch(50.3% 0.193 289.1);
Tailwind
colors: {
custom: {
50: '#9a7bda',
500: '#6645c8',
950: '#000000',
},
}SCSS
$custom: #6645c8; $custom-light: #9a7bda; $custom-dark: #000000;
JSON
{
"hex": "#6645c8",
"rgb": {
"r": 102,
"g": 69,
"b": 200
},
"hsl": {
"h": 255.115,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.50252,
"c": 0.19278,
"h": 289.1
},
"luminance": 0.11251
}Semantic roles & 50–950 ramp
primary
#6645C8
secondary
#C2D198
accent
#DE4AB9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83