#7248C2#7248C2
#7248C2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.182 H 295.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7248C2 |
|---|---|
| RGB | rgb(114, 72, 194) |
| HSL | hsl(261, 50%, 52%) |
| HSV | hsv(261, 63%, 76%) |
| CMYK | cmyk(41.2%, 62.9%, 0%, 23.9%) |
| CIE-LAB | lab(41.39, 44.96, -57.76) |
| CIE-LCH | lch(41.39, 73.19, 307.90°) |
| OKLab | oklab(51.4% 0.077 -0.1647) |
| OKLCH | oklch(51.4% 0.182 295.1) |
| XYZ | xyz(18.9918, 12.1067, 52.3647) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.40
Bluish Purple
#703BE7
ΔE00 5.38
Royal Purple
#7851A9
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 5.76
Iris
#6258C4
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7248C2 #98C248
analogous
#485BC2 #7248C2 #AF48C2
triadic
#7248C2 #C27248 #48C272
tetradic
#7248C2 #C2485B #98C248 #48C2AF
square
#7248C2 #C2485B #98C248 #48C2AF
split-complementary
#7248C2 #C2AF48 #5BC248
monochromatic
#3D246C #56339A #7248C2 #9576D1 #B9A4E1
Accessibility & contrast
On white
6.14
#7248C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#7248C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7248C2
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7248C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7248C2 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#5D647E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7248c2; /* rgb */ color: rgb(114, 72, 194); /* oklch */ color: oklch(51.4% 0.182 295.1);
Tailwind
colors: {
custom: {
50: '#a07dd5',
500: '#7248c2',
950: '#000000',
},
}SCSS
$custom: #7248c2; $custom-light: #a07dd5; $custom-dark: #000000;
JSON
{
"hex": "#7248c2",
"rgb": {
"r": 114,
"g": 72,
"b": 194
},
"hsl": {
"h": 260.656,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.51401,
"c": 0.18182,
"h": 295.1
},
"luminance": 0.12107
}Semantic roles & 50–950 ramp
primary
#7248C2
secondary
#BBCE98
accent
#DA4EAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83