#7147C5#7147C5

#7147C5 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.187 H 294.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7147C5
RGBrgb(113, 71, 197)
HSLhsl(260, 52%, 53%)
HSVhsv(260, 64%, 77%)
CMYKcmyk(42.6%, 64%, 0%, 22.7%)
CIE-LABlab(41.29, 46.11, -59.66)
CIE-LCHlch(41.29, 75.40, 307.70°)
OKLaboklab(51.38% 0.0765 -0.1703)
OKLCHoklch(51.38% 0.187 294.2)
XYZxyz(19.1386, 12.0479, 54.1296)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147C5 #9BC547
analogous
#475CC5 #7147C5 #B047C5
triadic
#7147C5 #C57147 #47C571
tetradic
#7147C5 #C5475C #9BC547 #47C5B0
square
#7147C5 #C5475C #9BC547 #47C5B0
split-complementary
#7147C5 #C5B047 #5CC547
monochromatic
#3C236F #55329D #7147C5 #9576D4 #B9A4E2

Accessibility & contrast

On white

6.16
#7147C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7147C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147C5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147C5#FFFFFF#000000##FFFFFF
##7147C51.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#5A647F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7147c5;
/* rgb */ color: rgb(113, 71, 197);
/* oklch */ color: oklch(51.4% 0.187 294.2);
Tailwind
colors: {
  custom: {
    50: '#a07cd7',
    500: '#7147c5',
    950: '#000000',
  },
}
SCSS
$custom: #7147c5;
$custom-light: #a07cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7147c5",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 260,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51378,
    "c": 0.18672,
    "h": 294.2
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#7147C5
secondary
#BDCF99
accent
#DC4CAC
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7147C5

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

Preview Lab → · Contrast checker → · Palette generator →

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