#7248E6#7248E6

#7248E6 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.224 H 288.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7248E6
RGBrgb(114, 72, 230)
HSLhsl(256, 76%, 59%)
HSVhsv(256, 69%, 90%)
CMYKcmyk(50.4%, 68.7%, 0%, 9.8%)
CIE-LABlab(44.12, 54.82, -73.98)
CIE-LCHlch(44.12, 92.08, 306.54°)
OKLaboklab(54.23% 0.0724 -0.2124)
OKLCHoklch(54.23% 0.224 288.8)
XYZxyz(23.5356, 13.9242, 76.2951)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248E6 #BCE648
analogous
#486DE6 #7248E6 #C148E6
triadic
#7248E6 #E67248 #48E672
tetradic
#7248E6 #E6486D #BCE648 #48E6C1
square
#7248E6 #E6486D #BCE648 #48E6C1
split-complementary
#7248E6 #E6C148 #6DE648
monochromatic
#3A169E #4E1DD4 #7248E6 #9B7EED #C5B4F5

Accessibility & contrast

On white

5.55
#7248E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7248E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248E6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248E6#FFFFFF#000000##FFFFFF
##7248E61.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#487192
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7248e6;
/* rgb */ color: rgb(114, 72, 230);
/* oklch */ color: oklch(54.2% 0.224 288.8);
Tailwind
colors: {
  custom: {
    50: '#a47eef',
    500: '#7248e6',
    950: '#000000',
  },
}
SCSS
$custom: #7248e6;
$custom-light: #a47eef;
$custom-dark: #000000;
JSON
{
  "hex": "#7248e6",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 255.949,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.22438,
    "h": 288.8
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

primary
#7248E6
secondary
#D3E4A6
accent
#F335C0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7248E6

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

Preview Lab → · Contrast checker → · Palette generator →

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