#8147CE#8147CE

#8147CE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.199 H 299.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8147CE
RGBrgb(129, 71, 206)
HSLhsl(266, 58%, 54%)
HSVhsv(266, 66%, 81%)
CMYKcmyk(37.4%, 65.5%, 0%, 19.2%)
CIE-LABlab(43.70, 51.73, -60.89)
CIE-LCHlch(43.70, 79.90, 310.35°)
OKLaboklab(53.72% 0.0974 -0.1734)
OKLCHoklch(53.72% 0.199 299.3)
XYZxyz(22.4443, 13.6296, 59.8289)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147CE #94CE47
analogous
#4751CE #8147CE #C547CE
triadic
#8147CE #CE8147 #47CE81
tetradic
#8147CE #CE4751 #94CE47 #47CEC5
square
#8147CE #CE4751 #94CE47 #47CEC5
split-complementary
#8147CE #CEC547 #51CE47
monochromatic
#47217A #632DAA #8147CE #A277DB #C3A8E8

Accessibility & contrast

On white

5.64
#8147CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8147CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147CE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147CE#FFFFFF#000000##FFFFFF
##8147CE1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#6F6684
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8147ce;
/* rgb */ color: rgb(129, 71, 206);
/* oklch */ color: oklch(53.7% 0.199 299.3);
Tailwind
colors: {
  custom: {
    50: '#ab7ede',
    500: '#8147ce',
    950: '#000000',
  },
}
SCSS
$custom: #8147ce;
$custom-light: #ab7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8147ce",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 265.778,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53718,
    "c": 0.1989,
    "h": 299.3
  },
  "luminance": 0.1363
}

Semantic roles & 50–950 ramp

primary
#8147CE
secondary
#BCD59C
accent
#E1479F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8147CE

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

Preview Lab → · Contrast checker → · Palette generator →

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