#643FB6#643FB6
#643FB6 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.178 H 292.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #643FB6 |
|---|---|
| RGB | rgb(100, 63, 182) |
| HSL | hsl(259, 49%, 48%) |
| HSV | hsv(259, 65%, 71%) |
| CMYK | cmyk(45.1%, 65.4%, 0%, 28.6%) |
| CIE-LAB | lab(37.19, 43.75, -57.59) |
| CIE-LCH | lch(37.19, 72.32, 307.22°) |
| OKLab | oklab(47.74% 0.0687 -0.1647) |
| OKLCH | oklch(47.74% 0.178 292.7) |
| XYZ | xyz(15.4742, 9.6413, 45.2925) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.62
Blue With A Hint Of Purple
#533CC6
ΔE00 3.69
Ocean Blue
#4F42B5
ΔE00 3.83
Blurple
#5539CC
ΔE00 4.10
Rebeccapurple
#663399
ΔE00 5.62
Burple
#6832E3
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643FB6 #91B63F
analogous
#3F56B6 #643FB6 #9F3FB6
triadic
#643FB6 #B6643F #3FB664
tetradic
#643FB6 #B63F56 #91B63F #3FB69F
square
#643FB6 #B63F56 #91B63F #3FB69F
split-complementary
#643FB6 #B69F3F #56B63F
monochromatic
#32205B #4B2F89 #643FB6 #8668CB #AB95DA
Accessibility & contrast
On white
7.17
#643FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#643FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #643FB6
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643FB6 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#4C5B75
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #643fb6; /* rgb */ color: rgb(100, 63, 182); /* oklch */ color: oklch(47.7% 0.178 292.7);
Tailwind
colors: {
custom: {
50: '#9776cd',
500: '#643fb6',
950: '#000000',
},
}SCSS
$custom: #643fb6; $custom-light: #9776cd; $custom-dark: #000000;
JSON
{
"hex": "#643fb6",
"rgb": {
"r": 100,
"g": 63,
"b": 182
},
"hsl": {
"h": 258.655,
"s": 48.571,
"l": 48.039
},
"oklch": {
"l": 0.47744,
"c": 0.17842,
"h": 292.7
},
"luminance": 0.09642
}Semantic roles & 50–950 ramp
primary
#643FB6
secondary
#B4C68B
accent
#D850AE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0913
muted
#7E7B82