#8147C2#8147C2

#8147C2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.185 H 302.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8147C2
RGBrgb(129, 71, 194)
HSLhsl(268, 50%, 52%)
HSVhsv(268, 63%, 76%)
CMYKcmyk(33.5%, 63.4%, 0%, 23.9%)
CIE-LABlab(42.87, 48.74, -55.28)
CIE-LCHlch(42.87, 73.70, 311.40°)
OKLaboklab(52.86% 0.0985 -0.1569)
OKLCHoklch(52.86% 0.185 302.1)
XYZxyz(21.0418, 13.0686, 52.4424)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147C2 #88C247
analogous
#474BC2 #8147C2 #BF47C2
triadic
#8147C2 #C28147 #47C281
tetradic
#8147C2 #C2474B #88C247 #47C2BF
square
#8147C2 #C2474B #88C247 #47C2BF
split-complementary
#8147C2 #C2BF47 #4BC247
monochromatic
#45246B #633399 #8147C2 #A075D1 #C0A3E0

Accessibility & contrast

On white

5.81
#8147C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8147C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147C2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147C2#FFFFFF#000000##FFFFFF
##8147C21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#1C65BF
Tritanopia (blue-blind)
#74627E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8147c2;
/* rgb */ color: rgb(129, 71, 194);
/* oklch */ color: oklch(52.9% 0.185 302.1);
Tailwind
colors: {
  custom: {
    50: '#aa7dd5',
    500: '#8147c2',
    950: '#000000',
  },
}
SCSS
$custom: #8147c2;
$custom-light: #aa7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8147c2",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 268.293,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.18527,
    "h": 302.1
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#8147C2
secondary
#B4CD97
accent
#DA4E98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8147C2

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

Preview Lab → · Contrast checker → · Palette generator →

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