#7147C0#7147C0

#7147C0 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.181 H 295.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7147C0
RGBrgb(113, 71, 192)
HSLhsl(261, 49%, 52%)
HSVhsv(261, 63%, 75%)
CMYKcmyk(41.1%, 63%, 0%, 24.7%)
CIE-LABlab(40.93, 44.76, -57.33)
CIE-LCHlch(40.93, 72.73, 307.98°)
OKLaboklab(51% 0.077 -0.1635)
OKLCHoklch(51% 0.181 295.2)
XYZxyz(18.5752, 11.8225, 51.1623)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147C0 #96C047
analogous
#475AC0 #7147C0 #AD47C0
triadic
#7147C0 #C07147 #47C071
tetradic
#7147C0 #C0475A #96C047 #47C0AD
square
#7147C0 #C0475A #96C047 #47C0AD
split-complementary
#7147C0 #C0AD47 #5AC047
monochromatic
#3C2469 #563396 #7147C0 #9475D0 #B7A2DF

Accessibility & contrast

On white

6.24
#7147C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7147C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147C0
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147C0#FFFFFF#000000##FFFFFF
##7147C01.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#5D637D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7147c0;
/* rgb */ color: rgb(113, 71, 192);
/* oklch */ color: oklch(51.0% 0.181 295.2);
Tailwind
colors: {
  custom: {
    50: '#9f7cd4',
    500: '#7147c0',
    950: '#000000',
  },
}
SCSS
$custom: #7147c0;
$custom-light: #9f7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7147c0",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 192
  },
  "hsl": {
    "h": 260.826,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.18068,
    "h": 295.2
  },
  "luminance": 0.11823
}

Semantic roles & 50–950 ramp

primary
#7147C0
secondary
#BACC97
accent
#D94FA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7147C0

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

Preview Lab → · Contrast checker → · Palette generator →

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