#7247B2#7247B2

#7247B2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.1% C 0.164 H 298.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7247B2
RGBrgb(114, 71, 178)
HSLhsl(264, 43%, 49%)
HSVhsv(264, 60%, 70%)
CMYKcmyk(36%, 60.1%, 0%, 30.2%)
CIE-LABlab(40.08, 41.24, -50.48)
CIE-LCHlch(40.08, 65.19, 309.25°)
OKLaboklab(50.1% 0.0791 -0.1433)
OKLCHoklch(50.1% 0.164 298.9)
XYZxyz(17.2266, 11.2980, 43.3840)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247B2 #87B247
analogous
#4752B2 #7247B2 #A847B2
triadic
#7247B2 #B27247 #47B272
tetradic
#7247B2 #B24752 #87B247 #47B2A8
square
#7247B2 #B24752 #87B247 #47B2A8
split-complementary
#7247B2 #B2A847 #52B247
monochromatic
#3A245B #563686 #7247B2 #9370C6 #B49CD7

Accessibility & contrast

On white

6.44
#7247B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7247B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247B2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247B2#FFFFFF#000000##FFFFFF
##7247B21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025EB5
Deuteranopia (green-blind)
#205DB0
Tritanopia (blue-blind)
#645E76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7247b2;
/* rgb */ color: rgb(114, 71, 178);
/* oklch */ color: oklch(50.1% 0.164 298.9);
Tailwind
colors: {
  custom: {
    50: '#9f7cca',
    500: '#7247b2',
    950: '#000000',
  },
}
SCSS
$custom: #7247b2;
$custom-light: #9f7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#7247b2",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 264.112,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.501,
    "c": 0.16368,
    "h": 298.9
  },
  "luminance": 0.11298
}

Semantic roles & 50–950 ramp

primary
#7247B2
secondary
#AFC491
accent
#D355A0
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7247B2

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

Preview Lab → · Contrast checker → · Palette generator →

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