#7248D8#7248D8

#7248D8 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.1% C 0.208 H 291.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7248D8
RGBrgb(114, 72, 216)
HSLhsl(258, 65%, 56%)
HSVhsv(258, 67%, 85%)
CMYKcmyk(47.2%, 66.7%, 0%, 15.3%)
CIE-LABlab(43.02, 50.97, -67.81)
CIE-LCHlch(43.02, 84.83, 306.93°)
OKLaboklab(53.09% 0.0746 -0.1943)
OKLCHoklch(53.09% 0.208 291)
XYZxyz(21.6480, 13.1692, 66.3537)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248D8 #AED848
analogous
#4866D8 #7248D8 #BA48D8
triadic
#7248D8 #D87248 #48D872
tetradic
#7248D8 #D84866 #AED848 #48D8BA
square
#7248D8 #D84866 #AED848 #48D8BA
split-complementary
#7248D8 #D8BA48 #66D848
monochromatic
#3C1D89 #5328BB #7248D8 #997AE3 #C0ADEE

Accessibility & contrast

On white

5.78
#7248D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7248D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248D8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248D8#FFFFFF#000000##FFFFFF
##7248D81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#526B8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7248d8;
/* rgb */ color: rgb(114, 72, 216);
/* oklch */ color: oklch(53.1% 0.208 291.0);
Tailwind
colors: {
  custom: {
    50: '#a37ee5',
    500: '#7248d8',
    950: '#000000',
  },
}
SCSS
$custom: #7248d8;
$custom-light: #a37ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#7248d8",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 257.5,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.20809,
    "h": 291
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#7248D8
secondary
#CADBA0
accent
#E840B7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7248D8

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

Preview Lab → · Contrast checker → · Palette generator →

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