#7247D2#7247D2

#7247D2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.202 H 292.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7247D2
RGBrgb(114, 71, 210)
HSLhsl(259, 61%, 55%)
HSVhsv(259, 66%, 82%)
CMYKcmyk(45.7%, 66.2%, 0%, 17.6%)
CIE-LABlab(42.36, 49.85, -65.43)
CIE-LCHlch(42.36, 82.26, 307.30°)
OKLaboklab(52.48% 0.0764 -0.1873)
OKLCHoklch(52.48% 0.202 292.2)
XYZxyz(20.8223, 12.7363, 62.3215)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247D2 #A7D247
analogous
#4761D2 #7247D2 #B747D2
triadic
#7247D2 #D27247 #47D272
tetradic
#7247D2 #D24761 #A7D247 #47D2B7
square
#7247D2 #D24761 #A7D247 #47D2B7
split-complementary
#7247D2 #D2B747 #61D247
monochromatic
#3D1F7F #542BB1 #7247D2 #9878DE #BDA9EA

Accessibility & contrast

On white

5.92
#7247D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7247D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247D2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247D2#FFFFFF#000000##FFFFFF
##7247D21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#556986
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7247d2;
/* rgb */ color: rgb(114, 71, 210);
/* oklch */ color: oklch(52.5% 0.202 292.2);
Tailwind
colors: {
  custom: {
    50: '#a27de1',
    500: '#7247d2',
    950: '#000000',
  },
}
SCSS
$custom: #7247d2;
$custom-light: #a27de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7247d2",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 258.561,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52478,
    "c": 0.20225,
    "h": 292.2
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

primary
#7247D2
secondary
#C6D89D
accent
#E444B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7247D2

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

Preview Lab → · Contrast checker → · Palette generator →

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