#8147C9#8147C9

#8147C9 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.193 H 300.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8147C9
RGBrgb(129, 71, 201)
HSLhsl(267, 55%, 53%)
HSVhsv(267, 65%, 79%)
CMYKcmyk(35.8%, 64.7%, 0%, 21.2%)
CIE-LABlab(43.35, 50.48, -58.57)
CIE-LCHlch(43.35, 77.32, 310.76°)
OKLaboklab(53.35% 0.0979 -0.1666)
OKLCHoklch(53.35% 0.193 300.4)
XYZxyz(21.8466, 13.3905, 56.6807)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147C9 #8FC947
analogous
#474EC9 #8147C9 #C247C9
triadic
#8147C9 #C98147 #47C981
tetradic
#8147C9 #C9474E #8FC947 #47C9C2
square
#8147C9 #C9474E #8FC947 #47C9C2
split-complementary
#8147C9 #C9C247 #4EC947
monochromatic
#462274 #6330A3 #8147C9 #A176D7 #C2A6E5

Accessibility & contrast

On white

5.71
#8147C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8147C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147C9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147C9#FFFFFF#000000##FFFFFF
##8147C91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#0666C6
Tritanopia (blue-blind)
#716482
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8147c9;
/* rgb */ color: rgb(129, 71, 201);
/* oklch */ color: oklch(53.4% 0.193 300.4);
Tailwind
colors: {
  custom: {
    50: '#ab7eda',
    500: '#8147c9',
    950: '#000000',
  },
}
SCSS
$custom: #8147c9;
$custom-light: #ab7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#8147c9",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 201
  },
  "hsl": {
    "h": 266.769,
    "s": 54.622,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53354,
    "c": 0.19323,
    "h": 300.4
  },
  "luminance": 0.13391
}

Semantic roles & 50–950 ramp

primary
#8147C9
secondary
#B9D29A
accent
#DE4A9C
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8147C9

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

Preview Lab → · Contrast checker → · Palette generator →

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