#7248D4#7248D4

#7248D4 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.8% C 0.203 H 291.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7248D4
RGBrgb(114, 72, 212)
HSLhsl(258, 62%, 56%)
HSVhsv(258, 66%, 83%)
CMYKcmyk(46.2%, 66%, 0%, 16.9%)
CIE-LABlab(42.71, 49.87, -66.02)
CIE-LCHlch(42.71, 82.73, 307.07°)
OKLaboklab(52.78% 0.0751 -0.189)
OKLCHoklch(52.78% 0.203 291.7)
XYZxyz(21.1371, 12.9649, 63.6634)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248D4 #AAD448
analogous
#4864D4 #7248D4 #B848D4
triadic
#7248D4 #D47248 #48D472
tetradic
#7248D4 #D44864 #AAD448 #48D4B8
square
#7248D4 #D44864 #AAD448 #48D4B8
split-complementary
#7248D4 #D4B848 #64D448
monochromatic
#3D1F83 #542AB4 #7248D4 #987AE0 #BEABEB

Accessibility & contrast

On white

5.84
#7248D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7248D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248D4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248D4#FFFFFF#000000##FFFFFF
##7248D41.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#546A88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7248d4;
/* rgb */ color: rgb(114, 72, 212);
/* oklch */ color: oklch(52.8% 0.203 291.7);
Tailwind
colors: {
  custom: {
    50: '#a27ee2',
    500: '#7248d4',
    950: '#000000',
  },
}
SCSS
$custom: #7248d4;
$custom-light: #a27ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#7248d4",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 258,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52776,
    "c": 0.20337,
    "h": 291.7
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#7248D4
secondary
#C8D99F
accent
#E543B4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7248D4

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

Preview Lab → · Contrast checker → · Palette generator →

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