#7248C8#7248C8

#7248C8 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.189 H 293.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7248C8
RGBrgb(114, 72, 200)
HSLhsl(260, 54%, 53%)
HSVhsv(260, 64%, 78%)
CMYKcmyk(43%, 64%, 0%, 21.6%)
CIE-LABlab(41.82, 46.59, -60.54)
CIE-LCHlch(41.82, 76.39, 307.58°)
OKLaboklab(51.85% 0.0765 -0.1729)
OKLCHoklch(51.85% 0.189 293.9)
XYZxyz(19.6793, 12.3817, 55.9854)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248C8 #9EC848
analogous
#485EC8 #7248C8 #B248C8
triadic
#7248C8 #C87248 #48C872
tetradic
#7248C8 #C8485E #9EC848 #48C8B2
square
#7248C8 #C8485E #9EC848 #48C8B2
split-complementary
#7248C8 #C8B248 #5EC848
monochromatic
#3D2373 #5631A2 #7248C8 #9677D6 #BBA6E4

Accessibility & contrast

On white

6.04
#7248C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7248C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248C8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248C8#FFFFFF#000000##FFFFFF
##7248C81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#5A6681
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7248c8;
/* rgb */ color: rgb(114, 72, 200);
/* oklch */ color: oklch(51.8% 0.189 293.9);
Tailwind
colors: {
  custom: {
    50: '#a17dda',
    500: '#7248c8',
    950: '#000000',
  },
}
SCSS
$custom: #7248c8;
$custom-light: #a17dda;
$custom-dark: #000000;
JSON
{
  "hex": "#7248c8",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 259.688,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.18907,
    "h": 293.9
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#7248C8
secondary
#BFD19A
accent
#DD4BAD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7248C8

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

Preview Lab → · Contrast checker → · Palette generator →

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