#7248E7#7248E7

#7248E7 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.226 H 288.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7248E7
RGBrgb(114, 72, 231)
HSLhsl(256, 77%, 59%)
HSVhsv(256, 69%, 91%)
CMYKcmyk(50.6%, 68.8%, 0%, 9.4%)
CIE-LABlab(44.21, 55.10, -74.41)
CIE-LCHlch(44.21, 92.59, 306.52°)
OKLaboklab(54.31% 0.0722 -0.2136)
OKLCHoklch(54.31% 0.226 288.7)
XYZxyz(23.6764, 13.9806, 77.0368)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248E7 #BDE748
analogous
#486EE7 #7248E7 #C248E7
triadic
#7248E7 #E77248 #48E772
tetradic
#7248E7 #E7486E #BDE748 #48E7C2
square
#7248E7 #E7486E #BDE748 #48E7C2
split-complementary
#7248E7 #E7C248 #6EE748
monochromatic
#3A15A0 #4D1CD6 #7248E7 #9C7EEE #C5B4F5

Accessibility & contrast

On white

5.53
#7248E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7248E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248E7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248E7#FFFFFF#000000##FFFFFF
##7248E71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#477192
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7248e7;
/* rgb */ color: rgb(114, 72, 231);
/* oklch */ color: oklch(54.3% 0.226 288.7);
Tailwind
colors: {
  custom: {
    50: '#a57ef0',
    500: '#7248e7',
    950: '#000000',
  },
}
SCSS
$custom: #7248e7;
$custom-light: #a57ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7248e7",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 255.849,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.22553,
    "h": 288.7
  },
  "luminance": 0.13982
}

Semantic roles & 50–950 ramp

primary
#7248E7
secondary
#D4E4A6
accent
#F334C1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7248E7

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

Preview Lab → · Contrast checker → · Palette generator →

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