#7646CC#7646CC
#7646CC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.197 H 295.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7646CC |
|---|---|
| RGB | rgb(118, 70, 204) |
| HSL | hsl(261, 57%, 54%) |
| HSV | hsv(261, 66%, 80%) |
| CMYK | cmyk(42.2%, 65.7%, 0%, 20%) |
| CIE-LAB | lab(42.14, 49.53, -62.31) |
| CIE-LCH | lch(42.14, 79.60, 308.48°) |
| OKLab | oklab(52.27% 0.0837 -0.178) |
| OKLCH | oklch(52.27% 0.197 295.2) |
| XYZ | xyz(20.5576, 12.5910, 58.4622) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.68
Bluish Purple
#703BE7
ΔE00 4.07
Burple
#6832E3
ΔE00 5.21
Blueviolet
#8A2BE2
ΔE00 5.36
Purpleish Blue
#6140EF
ΔE00 5.48
Light Indigo
#6D5ACF
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7646CC #9CCC46
analogous
#4659CC #7646CC #B946CC
triadic
#7646CC #CC7646 #46CC76
tetradic
#7646CC #CC4659 #9CCC46 #46CCB9
square
#7646CC #CC4659 #9CCC46 #46CCB9
split-complementary
#7646CC #CCB946 #59CC46
monochromatic
#402177 #592EA7 #7646CC #9A76D9 #BDA6E6
Accessibility & contrast
On white
5.97
#7646CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#7646CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7646CC
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7646CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7646CC | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#5F6683
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7646cc; /* rgb */ color: rgb(118, 70, 204); /* oklch */ color: oklch(52.3% 0.197 295.2);
Tailwind
colors: {
custom: {
50: '#a47cdc',
500: '#7646cc',
950: '#000000',
},
}SCSS
$custom: #7646cc; $custom-light: #a47cdc; $custom-dark: #000000;
JSON
{
"hex": "#7646cc",
"rgb": {
"r": 118,
"g": 70,
"b": 204
},
"hsl": {
"h": 261.493,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.52274,
"c": 0.19666,
"h": 295.2
},
"luminance": 0.12592
}Semantic roles & 50–950 ramp
primary
#7646CC
secondary
#BFD49A
accent
#E048A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83