#7248D6#7248D6

#7248D6 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.9% C 0.206 H 291.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7248D6
RGBrgb(114, 72, 214)
HSLhsl(258, 63%, 56%)
HSVhsv(258, 66%, 84%)
CMYKcmyk(46.7%, 66.4%, 0%, 16.1%)
CIE-LABlab(42.86, 50.42, -66.91)
CIE-LCHlch(42.86, 83.78, 307.00°)
OKLaboklab(52.93% 0.0749 -0.1916)
OKLCHoklch(52.93% 0.206 291.3)
XYZxyz(21.3910, 13.0664, 65.0003)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248D6 #ACD648
analogous
#4865D6 #7248D6 #B948D6
triadic
#7248D6 #D67248 #48D672
tetradic
#7248D6 #D64865 #ACD648 #48D6B9
square
#7248D6 #D64865 #ACD648 #48D6B9
split-complementary
#7248D6 #D6B948 #65D648
monochromatic
#3D1E86 #5329B8 #7248D6 #997AE1 #BFACEC

Accessibility & contrast

On white

5.81
#7248D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7248D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248D6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248D6#FFFFFF#000000##FFFFFF
##7248D61.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#536B89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7248d6;
/* rgb */ color: rgb(114, 72, 214);
/* oklch */ color: oklch(52.9% 0.206 291.3);
Tailwind
colors: {
  custom: {
    50: '#a27ee4',
    500: '#7248d6',
    950: '#000000',
  },
}
SCSS
$custom: #7248d6;
$custom-light: #a27ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7248d6",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 257.746,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.20574,
    "h": 291.3
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#7248D6
secondary
#C9DAA0
accent
#E641B6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7248D6

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

Preview Lab → · Contrast checker → · Palette generator →

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