#7A67B6#7A67B6
#7A67B6 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 56.7% C 0.120 H 293.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7A67B6 |
|---|---|
| RGB | rgb(122, 103, 182) |
| HSL | hsl(254, 35%, 56%) |
| HSV | hsv(254, 43%, 71%) |
| CMYK | cmyk(33%, 43.4%, 0%, 28.6%) |
| CIE-LAB | lab(48.53, 25.64, -39.30) |
| CIE-LCH | lch(48.53, 46.92, 303.12°) |
| OKLab | oklab(56.65% 0.0474 -0.1103) |
| OKLCH | oklch(56.65% 0.12 293.2) |
| XYZ | xyz(21.3176, 17.2151, 46.4466) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 5.54
Deep Lilac
#966EBD
ΔE00 6.67
Light Indigo
#6D5ACF
ΔE00 6.85
Slate Blue
#6A5ACD
ΔE00 6.93
Dark Periwinkle
#665FD1
ΔE00 7.09
Royal Purple
#7851A9
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A67B6 #A3B667
analogous
#677BB6 #7A67B6 #A167B6
triadic
#7A67B6 #B67A67 #67B67A
tetradic
#7A67B6 #B6677B #A3B667 #67B6A1
square
#7A67B6 #B6677B #A3B667 #67B6A1
split-complementary
#7A67B6 #B6A167 #7BB667
monochromatic
#42356E #5C4997 #7A67B6 #9E90CA #C2BADE
Accessibility & contrast
On white
4.73
#7A67B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7A67B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A67B6
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A67B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A67B6 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E74B9
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#6C7686
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7a67b6; /* rgb */ color: rgb(122, 103, 182); /* oklch */ color: oklch(56.7% 0.120 293.2);
Tailwind
colors: {
custom: {
50: '#a392cc',
500: '#7a67b6',
950: '#000000',
},
}SCSS
$custom: #7a67b6; $custom-light: #a392cc; $custom-dark: #000000;
JSON
{
"hex": "#7a67b6",
"rgb": {
"r": 122,
"g": 103,
"b": 182
},
"hsl": {
"h": 254.43,
"s": 35.111,
"l": 55.882
},
"oklch": {
"l": 0.56653,
"c": 0.12009,
"h": 293.2
},
"luminance": 0.17215
}Semantic roles & 50–950 ramp
primary
#7A67B6
secondary
#C5CDAC
accent
#CB5DB1
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D13
muted
#7F7E82