#8147C1#8147C1

#8147C1 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.184 H 302.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8147C1
RGBrgb(129, 71, 193)
HSLhsl(269, 50%, 52%)
HSVhsv(269, 63%, 76%)
CMYKcmyk(33.2%, 63.2%, 0%, 24.3%)
CIE-LABlab(42.80, 48.49, -54.81)
CIE-LCHlch(42.80, 73.18, 311.50°)
OKLaboklab(52.79% 0.0986 -0.1555)
OKLCHoklch(52.79% 0.184 302.4)
XYZxyz(20.9299, 13.0238, 51.8529)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147C1 #87C147
analogous
#474AC1 #8147C1 #BE47C1
triadic
#8147C1 #C18147 #47C181
tetradic
#8147C1 #C1474A #87C147 #47C1BE
square
#8147C1 #C1474A #87C147 #47C1BE
split-complementary
#8147C1 #C1BE47 #4AC147
monochromatic
#45246A #633398 #8147C1 #A075D0 #C0A3E0

Accessibility & contrast

On white

5.83
#8147C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8147C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147C1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147C1#FFFFFF#000000##FFFFFF
##8147C11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#1E65BE
Tritanopia (blue-blind)
#74617D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8147c1;
/* rgb */ color: rgb(129, 71, 193);
/* oklch */ color: oklch(52.8% 0.184 302.4);
Tailwind
colors: {
  custom: {
    50: '#aa7dd4',
    500: '#8147c1',
    950: '#000000',
  },
}
SCSS
$custom: #8147c1;
$custom-light: #aa7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8147c1",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 193
  },
  "hsl": {
    "h": 268.525,
    "s": 49.593,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.18413,
    "h": 302.4
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#8147C1
secondary
#B3CD97
accent
#D94F97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8147C1

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

Preview Lab → · Contrast checker → · Palette generator →

#8147C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva