#7646CB#7646CB
#7646CB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.195 H 295.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7646CB |
|---|---|
| RGB | rgb(118, 70, 203) |
| HSL | hsl(262, 56%, 54%) |
| HSV | hsv(262, 66%, 80%) |
| CMYK | cmyk(41.9%, 65.5%, 0%, 20.4%) |
| CIE-LAB | lab(42.07, 49.26, -61.85) |
| CIE-LCH | lch(42.07, 79.07, 308.53°) |
| OKLab | oklab(52.2% 0.0838 -0.1766) |
| OKLCH | oklch(52.2% 0.195 295.4) |
| XYZ | xyz(20.4380, 12.5432, 57.8326) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.67
Bluish Purple
#703BE7
ΔE00 4.19
Burple
#6832E3
ΔE00 5.28
Blueviolet
#8A2BE2
ΔE00 5.42
Purpleish Blue
#6140EF
ΔE00 5.61
Light Indigo
#6D5ACF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7646CB #9BCB46
analogous
#4658CB #7646CB #B846CB
triadic
#7646CB #CB7646 #46CB76
tetradic
#7646CB #CB4658 #9BCB46 #46CBB8
square
#7646CB #CB4658 #9BCB46 #46CBB8
split-complementary
#7646CB #CBB846 #58CB46
monochromatic
#402176 #592EA5 #7646CB #9976D8 #BDA6E6
Accessibility & contrast
On white
5.98
#7646CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#7646CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7646CB
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7646CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7646CB | 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)
#0064CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#606582
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7646cb; /* rgb */ color: rgb(118, 70, 203); /* oklch */ color: oklch(52.2% 0.195 295.4);
Tailwind
colors: {
custom: {
50: '#a47cdc',
500: '#7646cb',
950: '#000000',
},
}SCSS
$custom: #7646cb; $custom-light: #a47cdc; $custom-dark: #000000;
JSON
{
"hex": "#7646cb",
"rgb": {
"r": 118,
"g": 70,
"b": 203
},
"hsl": {
"h": 261.654,
"s": 56.118,
"l": 53.529
},
"oklch": {
"l": 0.52198,
"c": 0.19549,
"h": 295.4
},
"luminance": 0.12544
}Semantic roles & 50–950 ramp
primary
#7646CB
secondary
#BED39A
accent
#DF48A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83