#7246C2#7246C2
#7246C2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.185 H 295.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7246C2 |
|---|---|
| RGB | rgb(114, 70, 194) |
| HSL | hsl(261, 50%, 52%) |
| HSV | hsv(261, 64%, 76%) |
| CMYK | cmyk(41.2%, 63.9%, 0%, 23.9%) |
| CIE-LAB | lab(40.98, 46.05, -58.41) |
| CIE-LCH | lch(40.98, 74.38, 308.25°) |
| OKLab | oklab(51.11% 0.0793 -0.1666) |
| OKLCH | oklch(51.11% 0.185 295.4) |
| XYZ | xyz(18.8646, 11.8524, 52.3223) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.18
Bluish Purple
#703BE7
ΔE00 5.20
Blue With A Hint Of Purple
#533CC6
ΔE00 5.65
Royal Purple
#7851A9
ΔE00 5.66
Blurple
#5539CC
ΔE00 5.74
Burple
#6832E3
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7246C2 #96C246
analogous
#4658C2 #7246C2 #B046C2
triadic
#7246C2 #C27246 #46C272
tetradic
#7246C2 #C24658 #96C246 #46C2B0
square
#7246C2 #C24658 #96C246 #46C2B0
split-complementary
#7246C2 #C2B046 #58C246
monochromatic
#3C236A #573299 #7246C2 #9574D1 #B8A2E0
Accessibility & contrast
On white
6.23
#7246C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#7246C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7246C2
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7246C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7246C2 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#5D627E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7246c2; /* rgb */ color: rgb(114, 70, 194); /* oklch */ color: oklch(51.1% 0.185 295.4);
Tailwind
colors: {
custom: {
50: '#a07cd5',
500: '#7246c2',
950: '#000000',
},
}SCSS
$custom: #7246c2; $custom-light: #a07cd5; $custom-dark: #000000;
JSON
{
"hex": "#7246c2",
"rgb": {
"r": 114,
"g": 70,
"b": 194
},
"hsl": {
"h": 261.29,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.51108,
"c": 0.18451,
"h": 295.4
},
"luminance": 0.11853
}Semantic roles & 50–950 ramp
primary
#7246C2
secondary
#BACD97
accent
#DA4EA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83