#8142BD#8142BD

#8142BD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.186 H 304.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8142BD
RGBrgb(129, 66, 189)
HSLhsl(271, 48%, 50%)
HSVhsv(271, 65%, 74%)
CMYKcmyk(31.7%, 65.1%, 0%, 25.9%)
CIE-LABlab(41.59, 50.07, -54.42)
CIE-LCHlch(41.59, 73.95, 312.62°)
OKLaboklab(51.83% 0.1047 -0.1544)
OKLCHoklch(51.83% 0.187 304.1)
XYZxyz(20.1847, 12.2377, 49.4330)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142BD #7EBD42
analogous
#4442BD #8142BD #BD42BB
triadic
#8142BD #BD8142 #42BD81
tetradic
#8142BD #BD4442 #7EBD42 #42BBBD
square
#8142BD #BD4442 #7EBD42 #42BBBD
split-complementary
#8142BD #BBBD42 #42BD44
monochromatic
#432262 #623290 #8142BD #9F6FCD #BD9DDD

Accessibility & contrast

On white

6.09
#8142BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8142BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142BD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142BD#FFFFFF#000000##FFFFFF
##8142BD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#1C62BA
Tritanopia (blue-blind)
#765D7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8142bd;
/* rgb */ color: rgb(129, 66, 189);
/* oklch */ color: oklch(51.8% 0.186 304.1);
Tailwind
colors: {
  custom: {
    50: '#aa7ad2',
    500: '#8142bd',
    950: '#000000',
  },
}
SCSS
$custom: #8142bd;
$custom-light: #aa7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8142bd",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 270.732,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.1865,
    "h": 304.1
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#8142BD
secondary
#ADC992
accent
#D85092
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8142BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8142BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva