#7646C2#7646C2
#7646C2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.185 H 297.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7646C2 |
|---|---|
| RGB | rgb(118, 70, 194) |
| HSL | hsl(263, 50%, 52%) |
| HSV | hsv(263, 64%, 76%) |
| CMYK | cmyk(39.2%, 63.9%, 0%, 23.9%) |
| CIE-LAB | lab(41.42, 46.89, -57.68) |
| CIE-LCH | lch(41.42, 74.34, 309.11°) |
| OKLab | oklab(51.52% 0.0847 -0.1643) |
| OKLCH | oklch(51.52% 0.185 297.3) |
| XYZ | xyz(19.3965, 12.1266, 52.3472) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.87
Bluish Purple
#703BE7
ΔE00 5.37
Royal Purple
#7851A9
ΔE00 5.40
Blueviolet
#8A2BE2
ΔE00 6.08
Burple
#6832E3
ΔE00 6.12
Light Indigo
#6D5ACF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7646C2 #92C246
analogous
#4654C2 #7646C2 #B446C2
triadic
#7646C2 #C27646 #46C276
tetradic
#7646C2 #C24654 #92C246 #46C2B4
square
#7646C2 #C24654 #92C246 #46C2B4
split-complementary
#7646C2 #C2B446 #54C246
monochromatic
#3F236A #5A3299 #7646C2 #9874D1 #BAA2E0
Accessibility & contrast
On white
6.13
#7646C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#7646C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7646C2
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7646C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7646C2 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#64627E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7646c2; /* rgb */ color: rgb(118, 70, 194); /* oklch */ color: oklch(51.5% 0.185 297.3);
Tailwind
colors: {
custom: {
50: '#a37cd5',
500: '#7646c2',
950: '#000000',
},
}SCSS
$custom: #7646c2; $custom-light: #a37cd5; $custom-dark: #000000;
JSON
{
"hex": "#7646c2",
"rgb": {
"r": 118,
"g": 70,
"b": 194
},
"hsl": {
"h": 263.226,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.51524,
"c": 0.18491,
"h": 297.3
},
"luminance": 0.12127
}Semantic roles & 50–950 ramp
primary
#7646C2
secondary
#B8CD97
accent
#DA4EA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83