#643ECF#643ECF
#643ECF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.7% C 0.210 H 288.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #643ECF |
|---|---|
| RGB | rgb(100, 62, 207) |
| HSL | hsl(256, 60%, 53%) |
| HSV | hsv(256, 70%, 81%) |
| CMYK | cmyk(51.7%, 70%, 0%, 18.8%) |
| CIE-LAB | lab(39.00, 51.32, -69.25) |
| CIE-LCH | lch(39.00, 86.19, 306.54°) |
| OKLab | oklab(49.67% 0.0659 -0.1989) |
| OKLCH | oklch(49.67% 0.21 288.3) |
| XYZ | xyz(18.2373, 10.6587, 60.1158) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.26
Blurple
#5539CC
ΔE00 2.53
Blue With A Hint Of Purple
#533CC6
ΔE00 2.88
Burple
#6832E3
ΔE00 3.08
Purpley Blue
#5F34E7
ΔE00 3.28
Bluish Purple
#703BE7
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643ECF #A9CF3E
analogous
#3E60CF #643ECF #AC3ECF
triadic
#643ECF #CF643E #3ECF64
tetradic
#643ECF #CF3E60 #A9CF3E #3ECFAC
square
#643ECF #CF3E60 #A9CF3E #3ECFAC
split-complementary
#643ECF #CFAC3E #60CF3E
monochromatic
#341D75 #4A29A6 #643ECF #8B6FDB #B3A0E7
Accessibility & contrast
On white
6.70
#643ECF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#643ECF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #643ECF
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643ECF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643ECF | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#3C6482
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #643ecf; /* rgb */ color: rgb(100, 62, 207); /* oklch */ color: oklch(49.7% 0.210 288.3);
Tailwind
colors: {
custom: {
50: '#9a76df',
500: '#643ecf',
950: '#000000',
},
}SCSS
$custom: #643ecf; $custom-light: #9a76df; $custom-dark: #000000;
JSON
{
"hex": "#643ecf",
"rgb": {
"r": 100,
"g": 62,
"b": 207
},
"hsl": {
"h": 255.724,
"s": 60.166,
"l": 52.745
},
"oklch": {
"l": 0.49665,
"c": 0.20953,
"h": 288.3
},
"luminance": 0.1066
}Semantic roles & 50–950 ramp
primary
#643ECF
secondary
#C3D495
accent
#E344BA
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83