#6645BC#6645BC
#6645BC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.3% C 0.178 H 291.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6645BC |
|---|---|
| RGB | rgb(102, 69, 188) |
| HSL | hsl(257, 47%, 50%) |
| HSV | hsv(257, 63%, 74%) |
| CMYK | cmyk(45.7%, 63.3%, 0%, 26.3%) |
| CIE-LAB | lab(39.09, 42.49, -58.03) |
| CIE-LCH | lch(39.09, 71.92, 306.21°) |
| OKLab | oklab(49.31% 0.0644 -0.1659) |
| OKLCH | oklch(49.31% 0.178 291.2) |
| XYZ | xyz(16.6822, 10.7113, 48.7557) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.99
Blue With A Hint Of Purple
#533CC6
ΔE00 3.96
Ocean Blue
#4F42B5
ΔE00 4.03
Blurple
#5539CC
ΔE00 4.39
Iris
#6258C4
ΔE00 5.82
Burple
#6832E3
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6645BC #9BBC45
analogous
#455FBC #6645BC #A245BC
triadic
#6645BC #BC6645 #45BC66
tetradic
#6645BC #BC455F #9BBC45 #45BCA2
square
#6645BC #BC455F #9BBC45 #45BCA2
split-complementary
#6645BC #BCA245 #5FBC45
monochromatic
#352463 #4D3490 #6645BC #8B72CC #B09FDC
Accessibility & contrast
On white
6.68
#6645BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#6645BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6645BC
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6645BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6645BC | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#4C617A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #6645bc; /* rgb */ color: rgb(102, 69, 188); /* oklch */ color: oklch(49.3% 0.178 291.2);
Tailwind
colors: {
custom: {
50: '#987ad1',
500: '#6645bc',
950: '#000000',
},
}SCSS
$custom: #6645bc; $custom-light: #987ad1; $custom-dark: #000000;
JSON
{
"hex": "#6645bc",
"rgb": {
"r": 102,
"g": 69,
"b": 188
},
"hsl": {
"h": 256.639,
"s": 47.036,
"l": 50.392
},
"oklch": {
"l": 0.49309,
"c": 0.17797,
"h": 291.2
},
"luminance": 0.10712
}Semantic roles & 50–950 ramp
primary
#6645BC
secondary
#BAC994
accent
#D751B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82