#7248D2#7248D2

#7248D2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.6% C 0.201 H 292.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7248D2
RGBrgb(114, 72, 210)
HSLhsl(258, 61%, 55%)
HSVhsv(258, 66%, 82%)
CMYKcmyk(45.7%, 65.7%, 0%, 17.6%)
CIE-LABlab(42.56, 49.32, -65.11)
CIE-LCHlch(42.56, 81.68, 307.14°)
OKLaboklab(52.62% 0.0754 -0.1863)
OKLCHoklch(52.62% 0.201 292)
XYZxyz(20.8864, 12.8646, 62.3429)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248D2 #A8D248
analogous
#4863D2 #7248D2 #B748D2
triadic
#7248D2 #D27248 #48D272
tetradic
#7248D2 #D24863 #A8D248 #48D2B7
square
#7248D2 #D24863 #A8D248 #48D2B7
split-complementary
#7248D2 #D2B748 #63D248
monochromatic
#3D2080 #542CB1 #7248D2 #9879DE #BEAAEA

Accessibility & contrast

On white

5.88
#7248D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7248D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248D2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248D2#FFFFFF#000000##FFFFFF
##7248D21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#556987
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7248d2;
/* rgb */ color: rgb(114, 72, 210);
/* oklch */ color: oklch(52.6% 0.201 292.0);
Tailwind
colors: {
  custom: {
    50: '#a27ee1',
    500: '#7248d2',
    950: '#000000',
  },
}
SCSS
$custom: #7248d2;
$custom-light: #a27ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7248d2",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 258.261,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52619,
    "c": 0.20101,
    "h": 292
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#7248D2
secondary
#C6D89E
accent
#E444B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7248D2

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

Preview Lab → · Contrast checker → · Palette generator →

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