#7247CE#7247CE

#7247CE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.198 H 292.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7247CE
RGBrgb(114, 71, 206)
HSLhsl(259, 58%, 54%)
HSVhsv(259, 66%, 81%)
CMYKcmyk(44.7%, 65.5%, 0%, 19.2%)
CIE-LABlab(42.06, 48.76, -63.62)
CIE-LCHlch(42.06, 80.15, 307.47°)
OKLaboklab(52.17% 0.0769 -0.1819)
OKLCHoklch(52.17% 0.198 292.9)
XYZxyz(20.3302, 12.5395, 59.7298)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247CE #A3CE47
analogous
#4760CE #7247CE #B647CE
triadic
#7247CE #CE7247 #47CE72
tetradic
#7247CE #CE4760 #A3CE47 #47CEB6
square
#7247CE #CE4760 #A3CE47 #47CEB6
split-complementary
#7247CE #CEB647 #60CE47
monochromatic
#3D217A #552DAA #7247CE #9777DB #BCA8E8

Accessibility & contrast

On white

5.99
#7247CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7247CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247CE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247CE#FFFFFF#000000##FFFFFF
##7247CE1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#576784
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7247ce;
/* rgb */ color: rgb(114, 71, 206);
/* oklch */ color: oklch(52.2% 0.198 292.9);
Tailwind
colors: {
  custom: {
    50: '#a27dde',
    500: '#7247ce',
    950: '#000000',
  },
}
SCSS
$custom: #7247ce;
$custom-light: #a27dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7247ce",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 259.111,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.19752,
    "h": 292.9
  },
  "luminance": 0.1254
}

Semantic roles & 50–950 ramp

primary
#7247CE
secondary
#C3D59C
accent
#E147B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7247CE

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

Preview Lab → · Contrast checker → · Palette generator →

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