#7247CC#7247CC

#7247CC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.195 H 293.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7247CC
RGBrgb(114, 71, 204)
HSLhsl(259, 57%, 54%)
HSVhsv(259, 65%, 80%)
CMYKcmyk(44.1%, 65.2%, 0%, 20%)
CIE-LABlab(41.91, 48.22, -62.70)
CIE-LCHlch(41.91, 79.10, 307.56°)
OKLaboklab(52.01% 0.0772 -0.1792)
OKLCHoklch(52.01% 0.195 293.3)
XYZxyz(20.0888, 12.4429, 58.4583)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247CC #A1CC47
analogous
#475FCC #7247CC #B447CC
triadic
#7247CC #CC7247 #47CC72
tetradic
#7247CC #CC475F #A1CC47 #47CCB4
square
#7247CC #CC475F #A1CC47 #47CCB4
split-complementary
#7247CC #CCB447 #5FCC47
monochromatic
#3D2177 #562EA7 #7247CC #9777D9 #BBA7E7

Accessibility & contrast

On white

6.02
#7247CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7247CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247CC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247CC#FFFFFF#000000##FFFFFF
##7247CC1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#586783
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7247cc;
/* rgb */ color: rgb(114, 71, 204);
/* oklch */ color: oklch(52.0% 0.195 293.3);
Tailwind
colors: {
  custom: {
    50: '#a17ddc',
    500: '#7247cc',
    950: '#000000',
  },
}
SCSS
$custom: #7247cc;
$custom-light: #a17ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7247cc",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 259.398,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52011,
    "c": 0.19515,
    "h": 293.3
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#7247CC
secondary
#C1D49B
accent
#E048AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7247CC

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

Preview Lab → · Contrast checker → · Palette generator →

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