#7147C7#7147C7

#7147C7 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.189 H 293.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7147C7
RGBrgb(113, 71, 199)
HSLhsl(260, 53%, 53%)
HSVhsv(260, 64%, 78%)
CMYKcmyk(43.2%, 64.3%, 0%, 22%)
CIE-LABlab(41.44, 46.66, -60.58)
CIE-LCHlch(41.44, 76.47, 307.60°)
OKLaboklab(51.53% 0.0763 -0.173)
OKLCHoklch(51.53% 0.189 293.8)
XYZxyz(19.3693, 12.1402, 55.3445)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147C7 #9DC747
analogous
#475DC7 #7147C7 #B147C7
triadic
#7147C7 #C77147 #47C771
tetradic
#7147C7 #C7475D #9DC747 #47C7B1
square
#7147C7 #C7475D #9DC747 #47C7B1
split-complementary
#7147C7 #C7B147 #5DC747
monochromatic
#3C2271 #5531A0 #7147C7 #9576D5 #B9A5E4

Accessibility & contrast

On white

6.13
#7147C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7147C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147C7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147C7#FFFFFF#000000##FFFFFF
##7147C71.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#596581
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7147c7;
/* rgb */ color: rgb(113, 71, 199);
/* oklch */ color: oklch(51.5% 0.189 293.8);
Tailwind
colors: {
  custom: {
    50: '#a07dd9',
    500: '#7147c7',
    950: '#000000',
  },
}
SCSS
$custom: #7147c7;
$custom-light: #a07dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7147c7",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 259.688,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51529,
    "c": 0.18912,
    "h": 293.8
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#7147C7
secondary
#BED199
accent
#DD4BAD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7147C7

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

Preview Lab → · Contrast checker → · Palette generator →

#7147C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva