#8142BA#8142BA

#8142BA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.183 H 304.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8142BA
RGBrgb(129, 66, 186)
HSLhsl(272, 48%, 49%)
HSVhsv(272, 65%, 73%)
CMYKcmyk(30.6%, 64.5%, 0%, 27.1%)
CIE-LABlab(41.39, 49.35, -52.99)
CIE-LCHlch(41.39, 72.41, 312.96°)
OKLaboklab(51.62% 0.1049 -0.1502)
OKLCHoklch(51.62% 0.183 304.9)
XYZxyz(19.8624, 12.1088, 47.7357)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142BA #7BBA42
analogous
#4542BA #8142BA #BA42B7
triadic
#8142BA #BA8142 #42BA81
tetradic
#8142BA #BA4542 #7BBA42 #42B7BA
square
#8142BA #BA4542 #7BBA42 #42B7BA
split-complementary
#8142BA #B7BA42 #42BA45
monochromatic
#422260 #62328D #8142BA #9F6ECB #BD9BDB

Accessibility & contrast

On white

6.14
#8142BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8142BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142BA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142BA#FFFFFF#000000##FFFFFF
##8142BA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#2162B7
Tritanopia (blue-blind)
#775C78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8142ba;
/* rgb */ color: rgb(129, 66, 186);
/* oklch */ color: oklch(51.6% 0.183 304.9);
Tailwind
colors: {
  custom: {
    50: '#aa7acf',
    500: '#8142ba',
    950: '#000000',
  },
}
SCSS
$custom: #8142ba;
$custom-light: #aa7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8142ba",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 271.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.18317,
    "h": 304.9
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#8142BA
secondary
#ABC890
accent
#D75191
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8142BA

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

Preview Lab → · Contrast checker → · Palette generator →

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