#7247C2#7247C2

#7247C2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.183 H 295.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7247C2
RGBrgb(114, 71, 194)
HSLhsl(261, 50%, 52%)
HSVhsv(261, 63%, 76%)
CMYKcmyk(41.2%, 63.4%, 0%, 23.9%)
CIE-LABlab(41.18, 45.51, -58.08)
CIE-LCHlch(41.18, 73.79, 308.08°)
OKLaboklab(51.25% 0.0782 -0.1657)
OKLCHoklch(51.25% 0.183 295.3)
XYZxyz(18.9277, 11.9785, 52.3433)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247C2 #97C247
analogous
#475AC2 #7247C2 #B047C2
triadic
#7247C2 #C27247 #47C272
tetradic
#7247C2 #C2475A #97C247 #47C2B0
square
#7247C2 #C2475A #97C247 #47C2B0
split-complementary
#7247C2 #C2B047 #5AC247
monochromatic
#3D246B #573399 #7247C2 #9575D1 #B8A3E0

Accessibility & contrast

On white

6.18
#7247C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7247C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247C2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247C2#FFFFFF#000000##FFFFFF
##7247C21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#5D637E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7247c2;
/* rgb */ color: rgb(114, 71, 194);
/* oklch */ color: oklch(51.3% 0.183 295.3);
Tailwind
colors: {
  custom: {
    50: '#a07cd5',
    500: '#7247c2',
    950: '#000000',
  },
}
SCSS
$custom: #7247c2;
$custom-light: #a07cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7247c2",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 260.976,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51254,
    "c": 0.18317,
    "h": 295.3
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#7247C2
secondary
#BACD97
accent
#DA4EA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7247C2

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

Preview Lab → · Contrast checker → · Palette generator →

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