#643FD9#643FD9
#643FD9 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.220 H 286.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #643FD9 |
|---|---|
| RGB | rgb(100, 63, 217) |
| HSL | hsl(254, 67%, 55%) |
| HSV | hsv(254, 71%, 85%) |
| CMYK | cmyk(53.9%, 71%, 0%, 14.9%) |
| CIE-LAB | lab(40.04, 53.63, -73.31) |
| CIE-LCH | lch(40.04, 90.83, 306.19°) |
| OKLab | oklab(50.66% 0.0631 -0.2108) |
| OKLCH | oklch(50.66% 0.22 286.7) |
| XYZ | xyz(19.5537, 11.2730, 66.7778) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.41
Purpley Blue
#5F34E7
ΔE00 2.51
Bluish Purple
#703BE7
ΔE00 2.52
Burple
#6832E3
ΔE00 2.54
Purpleish Blue
#6140EF
ΔE00 2.81
Blurple
#5539CC
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643FD9 #B4D93F
analogous
#3F67D9 #643FD9 #B13FD9
triadic
#643FD9 #D9643F #3FD964
tetradic
#643FD9 #D93F67 #B4D93F #3FD9B1
square
#643FD9 #D93F67 #B4D93F #3FD9B1
split-complementary
#643FD9 #D9B13F #67D93F
monochromatic
#331A84 #4724B7 #643FD9 #8D72E3 #B6A5ED
Accessibility & contrast
On white
6.45
#643FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#643FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #643FD9
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643FD9 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#326888
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #643fd9; /* rgb */ color: rgb(100, 63, 217); /* oklch */ color: oklch(50.7% 0.220 286.7);
Tailwind
colors: {
custom: {
50: '#9b77e6',
500: '#643fd9',
950: '#000000',
},
}SCSS
$custom: #643fd9; $custom-light: #9b77e6; $custom-dark: #000000;
JSON
{
"hex": "#643fd9",
"rgb": {
"r": 100,
"g": 63,
"b": 217
},
"hsl": {
"h": 254.416,
"s": 66.957,
"l": 54.902
},
"oklch": {
"l": 0.50664,
"c": 0.22005,
"h": 286.7
},
"luminance": 0.11274
}Semantic roles & 50–950 ramp
primary
#643FD9
secondary
#CBDA9A
accent
#EA3EC1
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84