#7247CD#7247CD

#7247CD is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.196 H 293.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7247CD
RGBrgb(114, 71, 205)
HSLhsl(259, 57%, 54%)
HSVhsv(259, 65%, 80%)
CMYKcmyk(44.4%, 65.4%, 0%, 19.6%)
CIE-LABlab(41.99, 48.49, -63.16)
CIE-LCHlch(41.99, 79.63, 307.51°)
OKLaboklab(52.09% 0.077 -0.1806)
OKLCHoklch(52.09% 0.196 293.1)
XYZxyz(20.2091, 12.4911, 59.0920)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247CD #A2CD47
analogous
#475FCD #7247CD #B547CD
triadic
#7247CD #CD7247 #47CD72
tetradic
#7247CD #CD475F #A2CD47 #47CDB5
square
#7247CD #CD475F #A2CD47 #47CDB5
split-complementary
#7247CD #CDB547 #5FCD47
monochromatic
#3D2179 #552EA9 #7247CD #9777DA #BCA7E7

Accessibility & contrast

On white

6.00
#7247CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7247CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247CD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247CD#FFFFFF#000000##FFFFFF
##7247CD1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#586784
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7247cd;
/* rgb */ color: rgb(114, 71, 205);
/* oklch */ color: oklch(52.1% 0.196 293.1);
Tailwind
colors: {
  custom: {
    50: '#a17ddd',
    500: '#7247cd',
    950: '#000000',
  },
}
SCSS
$custom: #7247cd;
$custom-light: #a17ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7247cd",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 259.254,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.19633,
    "h": 293.1
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#7247CD
secondary
#C2D49B
accent
#E147AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7247CD

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

Preview Lab → · Contrast checker → · Palette generator →

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