#7247D7#7247D7

#7247D7 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.208 H 291.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7247D7
RGBrgb(114, 71, 215)
HSLhsl(258, 64%, 56%)
HSVhsv(258, 67%, 84%)
CMYKcmyk(47%, 67%, 0%, 15.7%)
CIE-LABlab(42.75, 51.22, -67.68)
CIE-LCHlch(42.75, 84.87, 307.12°)
OKLaboklab(52.87% 0.0757 -0.1939)
OKLCHoklch(52.87% 0.208 291.3)
XYZxyz(21.4550, 12.9894, 65.6536)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247D7 #ACD747
analogous
#4764D7 #7247D7 #BA47D7
triadic
#7247D7 #D77247 #47D772
tetradic
#7247D7 #D74764 #ACD747 #47D7BA
square
#7247D7 #D74764 #ACD747 #47D7BA
split-complementary
#7247D7 #D7BA47 #64D747
monochromatic
#3D1D86 #5328B9 #7247D7 #9979E2 #BFACED

Accessibility & contrast

On white

5.84
#7247D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7247D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247D7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247D7#FFFFFF#000000##FFFFFF
##7247D71.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#526B89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7247d7;
/* rgb */ color: rgb(114, 71, 215);
/* oklch */ color: oklch(52.9% 0.208 291.3);
Tailwind
colors: {
  custom: {
    50: '#a37de4',
    500: '#7247d7',
    950: '#000000',
  },
}
SCSS
$custom: #7247d7;
$custom-light: #a37de4;
$custom-dark: #000000;
JSON
{
  "hex": "#7247d7",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 257.917,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.20812,
    "h": 291.3
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#7247D7
secondary
#C9DB9F
accent
#E741B5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7247D7

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

Preview Lab → · Contrast checker → · Palette generator →

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