#643EF2#643EF2
#643EF2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.249 H 283.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #643EF2 |
|---|---|
| RGB | rgb(100, 62, 242) |
| HSL | hsl(253, 87%, 60%) |
| HSV | hsv(253, 74%, 95%) |
| CMYK | cmyk(58.7%, 74.4%, 0%, 5.1%) |
| CIE-LAB | lab(42.10, 61.15, -84.13) |
| CIE-LCH | lch(42.10, 104.01, 306.01°) |
| OKLab | oklab(52.8% 0.0582 -0.2425) |
| OKLCH | oklch(52.8% 0.249 283.5) |
| XYZ | xyz(23.0002, 12.5639, 85.2003) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 0.61
Bluish Purple
#703BE7
ΔE00 2.11
Purpley Blue
#5F34E7
ΔE00 2.85
Burple
#6832E3
ΔE00 3.27
Purplish Blue
#601EF9
ΔE00 4.62
Light Royal Blue
#3A2EFE
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643EF2 #CCF23E
analogous
#3E72F2 #643EF2 #BE3EF2
triadic
#643EF2 #F2643E #3EF264
tetradic
#643EF2 #F23E72 #CCF23E #3EF2BE
square
#643EF2 #F23E72 #CCF23E #3EF2BE
split-complementary
#643EF2 #F2BE3E #72F23E
monochromatic
#2D0BAA #3C0FE3 #643EF2 #9277F6 #C0B1FA
Accessibility & contrast
On white
5.98
#643EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#643EF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #643EF2
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643EF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643EF2 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069F7
Deuteranopia (green-blind)
#005DEF
Tritanopia (blue-blind)
#007196
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #643ef2; /* rgb */ color: rgb(100, 62, 242); /* oklch */ color: oklch(52.8% 0.249 283.5);
Tailwind
colors: {
custom: {
50: '#9f78f8',
500: '#643ef2',
950: '#000000',
},
}SCSS
$custom: #643ef2; $custom-light: #9f78f8; $custom-dark: #000000;
JSON
{
"hex": "#643ef2",
"rgb": {
"r": 100,
"g": 62,
"b": 242
},
"hsl": {
"h": 252.667,
"s": 87.379,
"l": 59.608
},
"oklch": {
"l": 0.528,
"c": 0.24936,
"h": 283.5
},
"luminance": 0.12565
}Semantic roles & 50–950 ramp
primary
#643EF2
secondary
#DAE9A3
accent
#FE2AD1
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85