#7247C2#7247C2
#7247C2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.183 H 295.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7247C2 |
|---|---|
| RGB | rgb(114, 71, 194) |
| HSL | hsl(261, 50%, 52%) |
| HSV | hsv(261, 63%, 76%) |
| CMYK | cmyk(41.2%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(41.18, 45.51, -58.08) |
| CIE-LCH | lch(41.18, 73.79, 308.08°) |
| OKLab | oklab(51.25% 0.0782 -0.1657) |
| OKLCH | oklch(51.25% 0.183 295.3) |
| XYZ | xyz(18.9277, 11.9785, 52.3433) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.28
Bluish Purple
#703BE7
ΔE00 5.29
Royal Purple
#7851A9
ΔE00 5.54
Blue With A Hint Of Purple
#533CC6
ΔE00 5.76
Blurple
#5539CC
ΔE00 5.88
Light Indigo
#6D5ACF
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7247C2 #97C247
analogous
#475AC2 #7247C2 #B047C2
triadic
#7247C2 #C27247 #47C272
tetradic
#7247C2 #C2475A #97C247 #47C2B0
square
#7247C2 #C2475A #97C247 #47C2B0
split-complementary
#7247C2 #C2B047 #5AC247
monochromatic
#3D246B #573399 #7247C2 #9575D1 #B8A3E0
Accessibility & contrast
On white
6.18
#7247C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#7247C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7247C2
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7247C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7247C2 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#5D637E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7247c2; /* rgb */ color: rgb(114, 71, 194); /* oklch */ color: oklch(51.3% 0.183 295.3);
Tailwind
colors: {
custom: {
50: '#a07cd5',
500: '#7247c2',
950: '#000000',
},
}SCSS
$custom: #7247c2; $custom-light: #a07cd5; $custom-dark: #000000;
JSON
{
"hex": "#7247c2",
"rgb": {
"r": 114,
"g": 71,
"b": 194
},
"hsl": {
"h": 260.976,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.51254,
"c": 0.18317,
"h": 295.3
},
"luminance": 0.11979
}Semantic roles & 50–950 ramp
primary
#7247C2
secondary
#BACD97
accent
#DA4EA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83