#7146C2#7146C2
#7146C2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.184 H 295.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7146C2 |
|---|---|
| RGB | rgb(113, 70, 194) |
| HSL | hsl(261, 50%, 52%) |
| HSV | hsv(261, 64%, 76%) |
| CMYK | cmyk(41.8%, 63.9%, 0%, 23.9%) |
| CIE-LAB | lab(40.87, 45.85, -58.59) |
| CIE-LCH | lch(40.87, 74.39, 308.04°) |
| OKLab | oklab(51.01% 0.0779 -0.1672) |
| OKLCH | oklch(51.01% 0.184 295) |
| XYZ | xyz(18.7352, 11.7856, 52.3162) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.01
Bluish Purple
#703BE7
ΔE00 5.18
Blue With A Hint Of Purple
#533CC6
ΔE00 5.48
Blurple
#5539CC
ΔE00 5.59
Royal Purple
#7851A9
ΔE00 5.74
Burple
#6832E3
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7146C2 #97C246
analogous
#4659C2 #7146C2 #AF46C2
triadic
#7146C2 #C27146 #46C271
tetradic
#7146C2 #C24659 #97C246 #46C2AF
square
#7146C2 #C24659 #97C246 #46C2AF
split-complementary
#7146C2 #C2AF46 #59C246
monochromatic
#3C236A #563299 #7146C2 #9474D1 #B8A2E0
Accessibility & contrast
On white
6.26
#7146C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7146C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7146C2
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7146C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7146C2 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#5C637E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7146c2; /* rgb */ color: rgb(113, 70, 194); /* oklch */ color: oklch(51.0% 0.184 295.0);
Tailwind
colors: {
custom: {
50: '#a07cd5',
500: '#7146c2',
950: '#000000',
},
}SCSS
$custom: #7146c2; $custom-light: #a07cd5; $custom-dark: #000000;
JSON
{
"hex": "#7146c2",
"rgb": {
"r": 113,
"g": 70,
"b": 194
},
"hsl": {
"h": 260.806,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.51006,
"c": 0.18443,
"h": 295
},
"luminance": 0.11786
}Semantic roles & 50–950 ramp
primary
#7146C2
secondary
#BACD97
accent
#DA4EA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83