#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
RGBrgb(114, 72, 191)
HSLhsl(261, 48%, 52%)
HSVhsv(261, 62%, 75%)
CMYKcmyk(40.3%, 62.3%, 0%, 25.1%)
CIE-LABlab(41.17, 44.15, -56.35)
CIE-LCHlch(41.17, 71.59, 308.08°)
OKLaboklab(51.18% 0.0773 -0.1606)
OKLCHoklch(51.18% 0.178 295.7)
XYZxyz(18.6583, 11.9733, 50.6082)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##7248BF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.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

Preview Lab

Preview with #7248BF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7248BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva