#8147CD#8147CD

#8147CD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.198 H 299.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8147CD
RGBrgb(129, 71, 205)
HSLhsl(266, 57%, 54%)
HSVhsv(266, 65%, 80%)
CMYKcmyk(37.1%, 65.4%, 0%, 19.6%)
CIE-LABlab(43.63, 51.48, -60.42)
CIE-LCHlch(43.63, 79.38, 310.43°)
OKLaboklab(53.65% 0.0975 -0.172)
OKLCHoklch(53.65% 0.198 299.5)
XYZxyz(22.3232, 13.5812, 59.1911)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147CD #93CD47
analogous
#4750CD #8147CD #C447CD
triadic
#8147CD #CD8147 #47CD81
tetradic
#8147CD #CD4750 #93CD47 #47CDC4
square
#8147CD #CD4750 #93CD47 #47CDC4
split-complementary
#8147CD #CDC447 #50CD47
monochromatic
#472179 #632EA9 #8147CD #A277DA #C3A7E7

Accessibility & contrast

On white

5.65
#8147CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8147CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147CD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147CD#FFFFFF#000000##FFFFFF
##8147CD1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#706684
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8147cd;
/* rgb */ color: rgb(129, 71, 205);
/* oklch */ color: oklch(53.6% 0.198 299.5);
Tailwind
colors: {
  custom: {
    50: '#ab7edd',
    500: '#8147cd',
    950: '#000000',
  },
}
SCSS
$custom: #8147cd;
$custom-light: #ab7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8147cd",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 265.97,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53645,
    "c": 0.19777,
    "h": 299.5
  },
  "luminance": 0.13581
}

Semantic roles & 50–950 ramp

primary
#8147CD
secondary
#BCD49B
accent
#E1479E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8147CD

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

Preview Lab → · Contrast checker → · Palette generator →

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