#7247CA#7247CA

#7247CA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.193 H 293.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7247CA
RGBrgb(114, 71, 202)
HSLhsl(260, 55%, 54%)
HSVhsv(260, 65%, 79%)
CMYKcmyk(43.6%, 64.9%, 0%, 20.8%)
CIE-LABlab(41.76, 47.67, -61.79)
CIE-LCHlch(41.76, 78.04, 307.65°)
OKLaboklab(51.86% 0.0774 -0.1766)
OKLCHoklch(51.86% 0.193 293.7)
XYZxyz(19.8504, 12.3476, 57.2031)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247CA #9FCA47
analogous
#475DCA #7247CA #B347CA
triadic
#7247CA #CA7247 #47CA72
tetradic
#7247CA #CA475D #9FCA47 #47CAB3
square
#7247CA #CA475D #9FCA47 #47CAB3
split-complementary
#7247CA #CAB347 #5DCA47
monochromatic
#3D2275 #562FA4 #7247CA #9677D8 #BBA6E5

Accessibility & contrast

On white

6.05
#7247CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7247CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247CA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247CA#FFFFFF#000000##FFFFFF
##7247CA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#596682
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7247ca;
/* rgb */ color: rgb(114, 71, 202);
/* oklch */ color: oklch(51.9% 0.193 293.7);
Tailwind
colors: {
  custom: {
    50: '#a17ddb',
    500: '#7247ca',
    950: '#000000',
  },
}
SCSS
$custom: #7247ca;
$custom-light: #a17ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7247ca",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 259.695,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.19277,
    "h": 293.7
  },
  "luminance": 0.12348
}

Semantic roles & 50–950 ramp

primary
#7247CA
secondary
#C0D29A
accent
#DF49AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7247CA

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

Preview Lab → · Contrast checker → · Palette generator →

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