#7248BF#7248BF
#7248BF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.178 H 295.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7248BF |
|---|---|
| RGB | rgb(114, 72, 191) |
| HSL | hsl(261, 48%, 52%) |
| HSV | hsv(261, 62%, 75%) |
| CMYK | cmyk(40.3%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(41.17, 44.15, -56.35) |
| CIE-LCH | lch(41.17, 71.59, 308.08°) |
| OKLab | oklab(51.18% 0.0773 -0.1606) |
| OKLCH | oklch(51.18% 0.178 295.7) |
| XYZ | xyz(18.6583, 11.9733, 50.6082) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.58
Royal Purple
#7851A9
ΔE00 5.05
Bluish Purple
#703BE7
ΔE00 5.79
Light Indigo
#6D5ACF
ΔE00 5.88
Iris
#6258C4
ΔE00 5.91
Slate Blue
#6A5ACD
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7248BF #95BF48
analogous
#485ABF #7248BF #AD48BF
triadic
#7248BF #BF7248 #48BF72
tetradic
#7248BF #BF485A #95BF48 #48BFAD
square
#7248BF #BF485A #95BF48 #48BFAD
split-complementary
#7248BF #BFAD48 #5ABF48
monochromatic
#3C2468 #573496 #7248BF #9575CF #B8A3DF
Accessibility & contrast
On white
6.19
#7248BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#7248BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7248BF
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7248BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7248BF | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#5E637D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7248bf; /* rgb */ color: rgb(114, 72, 191); /* oklch */ color: oklch(51.2% 0.178 295.7);
Tailwind
colors: {
custom: {
50: '#a07dd3',
500: '#7248bf',
950: '#000000',
},
}SCSS
$custom: #7248bf; $custom-light: #a07dd3; $custom-dark: #000000;
JSON
{
"hex": "#7248bf",
"rgb": {
"r": 114,
"g": 72,
"b": 191
},
"hsl": {
"h": 261.176,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.51181,
"c": 0.17818,
"h": 295.7
},
"luminance": 0.11974
}Semantic roles & 50–950 ramp
primary
#7248BF
secondary
#B9CC97
accent
#D850A8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83