#7248E1#7248E1

#7248E1 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.219 H 289.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7248E1
RGBrgb(114, 72, 225)
HSLhsl(256, 72%, 58%)
HSVhsv(256, 68%, 88%)
CMYKcmyk(49.3%, 68%, 0%, 11.8%)
CIE-LABlab(43.72, 53.44, -71.79)
CIE-LCHlch(43.72, 89.50, 306.66°)
OKLaboklab(53.82% 0.0732 -0.206)
OKLCHoklch(53.82% 0.219 289.6)
XYZxyz(22.8435, 13.6474, 72.6501)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248E1 #B7E148
analogous
#486AE1 #7248E1 #BF48E1
triadic
#7248E1 #E17248 #48E172
tetradic
#7248E1 #E1486A #B7E148 #48E1BF
square
#7248E1 #E1486A #B7E148 #48E1BF
split-complementary
#7248E1 #E1BF48 #6AE148
monochromatic
#3B1996 #5021CB #7248E1 #9B7DEA #C3B1F2

Accessibility & contrast

On white

5.63
#7248E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7248E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248E1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248E1#FFFFFF#000000##FFFFFF
##7248E11.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#0064DE
Tritanopia (blue-blind)
#4C6F8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7248e1;
/* rgb */ color: rgb(114, 72, 225);
/* oklch */ color: oklch(53.8% 0.219 289.6);
Tailwind
colors: {
  custom: {
    50: '#a47eeb',
    500: '#7248e1',
    950: '#000000',
  },
}
SCSS
$custom: #7248e1;
$custom-light: #a47eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7248e1",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 256.471,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53818,
    "c": 0.2186,
    "h": 289.6
  },
  "luminance": 0.13648
}

Semantic roles & 50–950 ramp

primary
#7248E1
secondary
#D0E1A4
accent
#EF39BD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7248E1

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

Preview Lab → · Contrast checker → · Palette generator →

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