#7247D8#7247D8

#7247D8 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.209 H 291.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7247D8
RGBrgb(114, 71, 216)
HSLhsl(258, 65%, 56%)
HSVhsv(258, 67%, 85%)
CMYKcmyk(47.2%, 67.1%, 0%, 15.3%)
CIE-LABlab(42.83, 51.49, -68.12)
CIE-LCHlch(42.83, 85.39, 307.08°)
OKLaboklab(52.95% 0.0756 -0.1952)
OKLCHoklch(52.95% 0.209 291.2)
XYZxyz(21.5838, 13.0410, 66.3323)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247D8 #ADD847
analogous
#4765D8 #7247D8 #BB47D8
triadic
#7247D8 #D87247 #47D872
tetradic
#7247D8 #D84765 #ADD847 #47D8BB
square
#7247D8 #D84765 #ADD847 #47D8BB
split-complementary
#7247D8 #D8BB47 #65D847
monochromatic
#3D1D88 #5327BA #7247D8 #9979E3 #BFACED

Accessibility & contrast

On white

5.82
#7247D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7247D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247D8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247D8#FFFFFF#000000##FFFFFF
##7247D81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#526B8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7247d8;
/* rgb */ color: rgb(114, 71, 216);
/* oklch */ color: oklch(53.0% 0.209 291.2);
Tailwind
colors: {
  custom: {
    50: '#a37de5',
    500: '#7247d8',
    950: '#000000',
  },
}
SCSS
$custom: #7247d8;
$custom-light: #a37de5;
$custom-dark: #000000;
JSON
{
  "hex": "#7247d8",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 257.793,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.2093,
    "h": 291.2
  },
  "luminance": 0.13042
}

Semantic roles & 50–950 ramp

primary
#7247D8
secondary
#CADBA0
accent
#E840B6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7247D8

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

Preview Lab → · Contrast checker → · Palette generator →

#7247D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva