#7248E4#7248E4

#7248E4 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.222 H 289.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7248E4
RGBrgb(114, 72, 228)
HSLhsl(256, 74%, 59%)
HSVhsv(256, 68%, 89%)
CMYKcmyk(50%, 68.4%, 0%, 10.6%)
CIE-LABlab(43.96, 54.27, -73.11)
CIE-LCHlch(43.96, 91.05, 306.59°)
OKLaboklab(54.06% 0.0728 -0.2098)
OKLCHoklch(54.06% 0.222 289.1)
XYZxyz(23.2563, 13.8126, 74.8244)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248E4 #BAE448
analogous
#486CE4 #7248E4 #C048E4
triadic
#7248E4 #E47248 #48E472
tetradic
#7248E4 #E4486C #BAE448 #48E4C0
square
#7248E4 #E4486C #BAE448 #48E4C0
split-complementary
#7248E4 #E4C048 #6CE448
monochromatic
#3A179B #4E1FD0 #7248E4 #9B7DEC #C4B3F4

Accessibility & contrast

On white

5.58
#7248E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7248E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248E4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248E4#FFFFFF#000000##FFFFFF
##7248E41.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#4A7091
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7248e4;
/* rgb */ color: rgb(114, 72, 228);
/* oklch */ color: oklch(54.1% 0.222 289.1);
Tailwind
colors: {
  custom: {
    50: '#a47eee',
    500: '#7248e4',
    950: '#000000',
  },
}
SCSS
$custom: #7248e4;
$custom-light: #a47eee;
$custom-dark: #000000;
JSON
{
  "hex": "#7248e4",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 256.154,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54064,
    "c": 0.22207,
    "h": 289.1
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#7248E4
secondary
#D2E3A5
accent
#F137BF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7248E4

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

Preview Lab → · Contrast checker → · Palette generator →

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