#643FC6#643FC6
#643FC6 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.198 H 289.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #643FC6 |
|---|---|
| RGB | rgb(100, 63, 198) |
| HSL | hsl(256, 54%, 51%) |
| HSV | hsv(256, 68%, 78%) |
| CMYK | cmyk(49.5%, 68.2%, 0%, 22.4%) |
| CIE-LAB | lab(38.45, 48.25, -64.93) |
| CIE-LCH | lch(38.45, 80.89, 306.62°) |
| OKLab | oklab(49.04% 0.0665 -0.1862) |
| OKLCH | oklch(49.04% 0.198 289.7) |
| XYZ | xyz(17.2231, 10.3408, 54.5036) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 0.62
Blue With A Hint Of Purple
#533CC6
ΔE00 2.68
Blurple
#5539CC
ΔE00 2.69
Burple
#6832E3
ΔE00 4.15
Ocean Blue
#4F42B5
ΔE00 4.26
Purpley Blue
#5F34E7
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643FC6 #A1C63F
analogous
#3F5DC6 #643FC6 #A73FC6
triadic
#643FC6 #C6643F #3FC664
tetradic
#643FC6 #C63F5D #A1C63F #3FC6A7
square
#643FC6 #C63F5D #A1C63F #3FC6A7
split-complementary
#643FC6 #C6A73F #5DC63F
monochromatic
#34206B #4B2E9A #643FC6 #8A6ED4 #B09DE2
Accessibility & contrast
On white
6.84
#643FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#643FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #643FC6
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643FC6 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#42617D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #643fc6; /* rgb */ color: rgb(100, 63, 198); /* oklch */ color: oklch(49.0% 0.198 289.7);
Tailwind
colors: {
custom: {
50: '#9977d8',
500: '#643fc6',
950: '#000000',
},
}SCSS
$custom: #643fc6; $custom-light: #9977d8; $custom-dark: #000000;
JSON
{
"hex": "#643fc6",
"rgb": {
"r": 100,
"g": 63,
"b": 198
},
"hsl": {
"h": 256.444,
"s": 54.217,
"l": 51.176
},
"oklch": {
"l": 0.4904,
"c": 0.19775,
"h": 289.7
},
"luminance": 0.10342
}Semantic roles & 50–950 ramp
primary
#643FC6
secondary
#BECE93
accent
#DE4AB5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83