#7248DC#7248DC

#7248DC is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.213 H 290.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7248DC
RGBrgb(114, 72, 220)
HSLhsl(257, 68%, 57%)
HSVhsv(257, 67%, 86%)
CMYKcmyk(48.2%, 67.3%, 0%, 13.7%)
CIE-LABlab(43.33, 52.07, -69.59)
CIE-LCHlch(43.33, 86.91, 306.80°)
OKLaboklab(53.41% 0.074 -0.1995)
OKLCHoklch(53.41% 0.213 290.4)
XYZxyz(22.1714, 13.3786, 69.1104)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248DC #B2DC48
analogous
#4868DC #7248DC #BC48DC
triadic
#7248DC #DC7248 #48DC72
tetradic
#7248DC #DC4868 #B2DC48 #48DCBC
square
#7248DC #DC4868 #B2DC48 #48DCBC
split-complementary
#7248DC #DCBC48 #68DC48
monochromatic
#3C1B8E #5225C2 #7248DC #9A7BE6 #C1AFF0

Accessibility & contrast

On white

5.71
#7248DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7248DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248DC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248DC#FFFFFF#000000##FFFFFF
##7248DC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#4F6D8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7248dc;
/* rgb */ color: rgb(114, 72, 220);
/* oklch */ color: oklch(53.4% 0.213 290.4);
Tailwind
colors: {
  custom: {
    50: '#a37ee8',
    500: '#7248dc',
    950: '#000000',
  },
}
SCSS
$custom: #7248dc;
$custom-light: #a37ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#7248dc",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 257.027,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53412,
    "c": 0.21278,
    "h": 290.4
  },
  "luminance": 0.13379
}

Semantic roles & 50–950 ramp

primary
#7248DC
secondary
#CDDEA2
accent
#EB3DB9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7248DC

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

Preview Lab → · Contrast checker → · Palette generator →

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