#7247D9#7247D9

#7247D9 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.210 H 291.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7247D9
RGBrgb(114, 71, 217)
HSLhsl(258, 66%, 56%)
HSVhsv(258, 67%, 85%)
CMYKcmyk(47.5%, 67.3%, 0%, 14.9%)
CIE-LABlab(42.90, 51.77, -68.57)
CIE-LCHlch(42.90, 85.91, 307.05°)
OKLaboklab(53.03% 0.0754 -0.1965)
OKLCHoklch(53.03% 0.21 291)
XYZxyz(21.7135, 13.0928, 67.0153)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247D9 #AED947
analogous
#4765D9 #7247D9 #BB47D9
triadic
#7247D9 #D97247 #47D972
tetradic
#7247D9 #D94765 #AED947 #47D9BB
square
#7247D9 #D94765 #AED947 #47D9BB
split-complementary
#7247D9 #D9BB47 #65D947
monochromatic
#3C1C89 #5327BC #7247D9 #997AE3 #C0ACEE

Accessibility & contrast

On white

5.80
#7247D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7247D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247D9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247D9#FFFFFF#000000##FFFFFF
##7247D91.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#516B8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7247d9;
/* rgb */ color: rgb(114, 71, 217);
/* oklch */ color: oklch(53.0% 0.210 291.0);
Tailwind
colors: {
  custom: {
    50: '#a37de6',
    500: '#7247d9',
    950: '#000000',
  },
}
SCSS
$custom: #7247d9;
$custom-light: #a37de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7247d9",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 257.671,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.21047,
    "h": 291
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#7247D9
secondary
#CADCA0
accent
#E93FB7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7247D9

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

Preview Lab → · Contrast checker → · Palette generator →

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