#643EC8#643EC8
#643EC8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.201 H 289.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #643EC8 |
|---|---|
| RGB | rgb(100, 62, 200) |
| HSL | hsl(257, 56%, 51%) |
| HSV | hsv(257, 69%, 78%) |
| CMYK | cmyk(50%, 69%, 0%, 21.6%) |
| CIE-LAB | lab(38.42, 49.35, -66.14) |
| CIE-LCH | lch(38.42, 82.52, 306.73°) |
| OKLab | oklab(49.07% 0.0671 -0.1898) |
| OKLCH | oklch(49.07% 0.201 289.5) |
| XYZ | xyz(17.4005, 10.3240, 55.7083) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 0.78
Blurple
#5539CC
ΔE00 2.52
Blue With A Hint Of Purple
#533CC6
ΔE00 2.64
Burple
#6832E3
ΔE00 3.82
Purpley Blue
#5F34E7
ΔE00 4.10
Bluish Purple
#703BE7
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643EC8 #A2C83E
analogous
#3E5DC8 #643EC8 #A93EC8
triadic
#643EC8 #C8643E #3EC864
tetradic
#643EC8 #C83E5D #A2C83E #3EC8A9
square
#643EC8 #C83E5D #A2C83E #3EC8A9
split-complementary
#643EC8 #C8A93E #5DC83E
monochromatic
#341F6D #4B2D9C #643EC8 #8A6ED6 #B19DE3
Accessibility & contrast
On white
6.85
#643EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#643EC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #643EC8
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643EC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643EC8 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#41617E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #643ec8; /* rgb */ color: rgb(100, 62, 200); /* oklch */ color: oklch(49.1% 0.201 289.5);
Tailwind
colors: {
custom: {
50: '#9976da',
500: '#643ec8',
950: '#000000',
},
}SCSS
$custom: #643ec8; $custom-light: #9976da; $custom-dark: #000000;
JSON
{
"hex": "#643ec8",
"rgb": {
"r": 100,
"g": 62,
"b": 200
},
"hsl": {
"h": 256.522,
"s": 55.645,
"l": 51.373
},
"oklch": {
"l": 0.4907,
"c": 0.2013,
"h": 289.5
},
"luminance": 0.10325
}Semantic roles & 50–950 ramp
primary
#643EC8
secondary
#BFCF92
accent
#DF49B6
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83