#643FC2#643FC2
#643FC2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.193 H 290.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #643FC2 |
|---|---|
| RGB | rgb(100, 63, 194) |
| HSL | hsl(257, 52%, 50%) |
| HSV | hsv(257, 68%, 76%) |
| CMYK | cmyk(48.5%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(38.13, 47.12, -63.12) |
| CIE-LCH | lch(38.13, 78.77, 306.75°) |
| OKLab | oklab(48.71% 0.0671 -0.1809) |
| OKLCH | oklch(48.71% 0.193 290.4) |
| XYZ | xyz(16.7679, 10.1587, 52.1058) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 0.97
Blue With A Hint Of Purple
#533CC6
ΔE00 2.77
Blurple
#5539CC
ΔE00 2.91
Ocean Blue
#4F42B5
ΔE00 4.02
Burple
#6832E3
ΔE00 4.62
Purpley Blue
#5F34E7
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643FC2 #9DC23F
analogous
#3F5BC2 #643FC2 #A63FC2
triadic
#643FC2 #C2643F #3FC264
tetradic
#643FC2 #C23F5B #9DC23F #3FC2A6
square
#643FC2 #C23F5B #9DC23F #3FC2A6
split-complementary
#643FC2 #C2A63F #5BC23F
monochromatic
#342066 #4C2F95 #643FC2 #896DD1 #AF9CE0
Accessibility & contrast
On white
6.93
#643FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#643FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #643FC2
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643FC2 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#45607B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #643fc2; /* rgb */ color: rgb(100, 63, 194); /* oklch */ color: oklch(48.7% 0.193 290.4);
Tailwind
colors: {
custom: {
50: '#9877d5',
500: '#643fc2',
950: '#000000',
},
}SCSS
$custom: #643fc2; $custom-light: #9877d5; $custom-dark: #000000;
JSON
{
"hex": "#643fc2",
"rgb": {
"r": 100,
"g": 63,
"b": 194
},
"hsl": {
"h": 256.947,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.4871,
"c": 0.19297,
"h": 290.4
},
"luminance": 0.10159
}Semantic roles & 50–950 ramp
primary
#643FC2
secondary
#BBCC91
accent
#DB4DB3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83