#7248CE#7248CE

#7248CE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.196 H 292.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7248CE
RGBrgb(114, 72, 206)
HSLhsl(259, 58%, 55%)
HSVhsv(259, 65%, 81%)
CMYKcmyk(44.7%, 65%, 0%, 19.2%)
CIE-LABlab(42.26, 48.22, -63.30)
CIE-LCHlch(42.26, 79.57, 307.30°)
OKLaboklab(52.31% 0.0759 -0.181)
OKLCHoklch(52.31% 0.196 292.7)
XYZxyz(20.3943, 12.6677, 59.7511)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248CE #A4CE48
analogous
#4861CE #7248CE #B548CE
triadic
#7248CE #CE7248 #48CE72
tetradic
#7248CE #CE4861 #A4CE48 #48CEB5
square
#7248CE #CE4861 #A4CE48 #48CEB5
split-complementary
#7248CE #CEB548 #61CE48
monochromatic
#3D217B #552EAB #7248CE #9778DB #BCA9E8

Accessibility & contrast

On white

5.94
#7248CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7248CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248CE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248CE#FFFFFF#000000##FFFFFF
##7248CE1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#576885
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7248ce;
/* rgb */ color: rgb(114, 72, 206);
/* oklch */ color: oklch(52.3% 0.196 292.7);
Tailwind
colors: {
  custom: {
    50: '#a17dde',
    500: '#7248ce',
    950: '#000000',
  },
}
SCSS
$custom: #7248ce;
$custom-light: #a17dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7248ce",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 258.806,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.19625,
    "h": 292.7
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#7248CE
secondary
#C3D59D
accent
#E147B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7248CE

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

Preview Lab → · Contrast checker → · Palette generator →

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