#7248E5#7248E5

#7248E5 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.223 H 289.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7248E5
RGBrgb(114, 72, 229)
HSLhsl(256, 75%, 59%)
HSVhsv(256, 69%, 90%)
CMYKcmyk(50.2%, 68.6%, 0%, 10.2%)
CIE-LABlab(44.04, 54.55, -73.54)
CIE-LCHlch(44.04, 91.56, 306.56°)
OKLaboklab(54.15% 0.0726 -0.2111)
OKLCHoklch(54.15% 0.223 289)
XYZxyz(23.3955, 13.8682, 75.5577)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248E5 #BBE548
analogous
#486DE5 #7248E5 #C148E5
triadic
#7248E5 #E57248 #48E572
tetradic
#7248E5 #E5486D #BBE548 #48E5C1
square
#7248E5 #E5486D #BBE548 #48E5C1
split-complementary
#7248E5 #E5C148 #6DE548
monochromatic
#3A169C #4E1ED2 #7248E5 #9B7EED #C5B3F4

Accessibility & contrast

On white

5.56
#7248E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7248E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248E5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248E5#FFFFFF#000000##FFFFFF
##7248E51.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#497091
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7248e5;
/* rgb */ color: rgb(114, 72, 229);
/* oklch */ color: oklch(54.1% 0.223 289.0);
Tailwind
colors: {
  custom: {
    50: '#a47eee',
    500: '#7248e5',
    950: '#000000',
  },
}
SCSS
$custom: #7248e5;
$custom-light: #a47eee;
$custom-dark: #000000;
JSON
{
  "hex": "#7248e5",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 256.051,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.22323,
    "h": 289
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#7248E5
secondary
#D3E3A6
accent
#F236C0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7248E5

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

Preview Lab → · Contrast checker → · Palette generator →

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