#643AC2#643AC2
#643AC2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.199 H 291.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #643AC2 |
|---|---|
| RGB | rgb(100, 58, 194) |
| HSL | hsl(259, 54%, 49%) |
| HSV | hsv(259, 70%, 76%) |
| CMYK | cmyk(48.5%, 70.1%, 0%, 23.9%) |
| CIE-LAB | lab(37.17, 49.76, -64.68) |
| CIE-LCH | lch(37.17, 81.60, 307.57°) |
| OKLab | oklab(48.03% 0.0719 -0.1855) |
| OKLCH | oklch(48.03% 0.199 291.2) |
| XYZ | xyz(16.5034, 9.6299, 52.0177) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.88
Blurple
#5539CC
ΔE00 2.64
Blue With A Hint Of Purple
#533CC6
ΔE00 2.76
Burple
#6832E3
ΔE00 4.31
Ocean Blue
#4F42B5
ΔE00 4.45
Purple Blue
#5D21D0
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643AC2 #98C23A
analogous
#3A54C2 #643AC2 #A83AC2
triadic
#643AC2 #C2643A #3AC264
tetradic
#643AC2 #C23A54 #98C23A #3AC2A8
square
#643AC2 #C23A54 #98C23A #3AC2A8
split-complementary
#643AC2 #C2A83A #54C23A
monochromatic
#331E64 #4C2C93 #643AC2 #8867D2 #AD97E0
Accessibility & contrast
On white
7.18
#643AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#643AC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #643AC2
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643AC2 | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#455D7A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #643ac2; /* rgb */ color: rgb(100, 58, 194); /* oklch */ color: oklch(48.0% 0.199 291.2);
Tailwind
colors: {
custom: {
50: '#9874d5',
500: '#643ac2',
950: '#000000',
},
}SCSS
$custom: #643ac2; $custom-light: #9874d5; $custom-dark: #000000;
JSON
{
"hex": "#643ac2",
"rgb": {
"r": 100,
"g": 58,
"b": 194
},
"hsl": {
"h": 258.529,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.48026,
"c": 0.19892,
"h": 291.2
},
"luminance": 0.0963
}Semantic roles & 50–950 ramp
primary
#643AC2
secondary
#B8CB8D
accent
#DD4AB0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83