#643DC2#643DC2
#643DC2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.195 H 290.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #643DC2 |
|---|---|
| RGB | rgb(100, 61, 194) |
| HSL | hsl(258, 52%, 50%) |
| HSV | hsv(258, 69%, 76%) |
| CMYK | cmyk(48.5%, 68.6%, 0%, 23.9%) |
| CIE-LAB | lab(37.74, 48.19, -63.75) |
| CIE-LCH | lch(37.74, 79.92, 307.09°) |
| OKLab | oklab(48.43% 0.0691 -0.1828) |
| OKLCH | oklch(48.43% 0.195 290.7) |
| XYZ | xyz(16.6591, 9.9412, 52.0696) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.30
Blue With A Hint Of Purple
#533CC6
ΔE00 2.71
Blurple
#5539CC
ΔE00 2.75
Ocean Blue
#4F42B5
ΔE00 4.16
Burple
#6832E3
ΔE00 4.46
Purpley Blue
#5F34E7
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643DC2 #9BC23D
analogous
#3D58C2 #643DC2 #A73DC2
triadic
#643DC2 #C2643D #3DC264
tetradic
#643DC2 #C23D58 #9BC23D #3DC2A7
square
#643DC2 #C23D58 #9BC23D #3DC2A7
split-complementary
#643DC2 #C2A73D #58C23D
monochromatic
#342065 #4C2E93 #643DC2 #896CD1 #AE9ADF
Accessibility & contrast
On white
7.03
#643DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#643DC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #643DC2
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643DC2 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#455E7B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #643dc2; /* rgb */ color: rgb(100, 61, 194); /* oklch */ color: oklch(48.4% 0.195 290.7);
Tailwind
colors: {
custom: {
50: '#9875d5',
500: '#643dc2',
950: '#000000',
},
}SCSS
$custom: #643dc2; $custom-light: #9875d5; $custom-dark: #000000;
JSON
{
"hex": "#643dc2",
"rgb": {
"r": 100,
"g": 61,
"b": 194
},
"hsl": {
"h": 257.594,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.48431,
"c": 0.19538,
"h": 290.7
},
"luminance": 0.09942
}Semantic roles & 50–950 ramp
primary
#643DC2
secondary
#BACB90
accent
#DC4CB2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83