#8142D0#8142D0

#8142D0 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.207 H 299.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8142D0
RGBrgb(129, 66, 208)
HSLhsl(267, 60%, 54%)
HSVhsv(267, 68%, 82%)
CMYKcmyk(38%, 68.3%, 0%, 18.4%)
CIE-LABlab(42.94, 54.72, -63.27)
CIE-LCHlch(42.94, 83.65, 310.86°)
OKLaboklab(53.22% 0.1024 -0.1804)
OKLCHoklch(53.22% 0.207 299.6)
XYZxyz(22.3838, 13.1174, 61.0149)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142D0 #91D042
analogous
#424AD0 #8142D0 #C842D0
triadic
#8142D0 #D08142 #42D081
tetradic
#8142D0 #D0424A #91D042 #42D0C8
square
#8142D0 #D0424A #91D042 #42D0C8
split-complementary
#8142D0 #D0C842 #4AD042
monochromatic
#471E79 #632AAA #8142D0 #A273DC #C2A4E8

Accessibility & contrast

On white

5.80
#8142D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8142D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142D0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142D0#FFFFFF#000000##FFFFFF
##8142D01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#6F6484
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8142d0;
/* rgb */ color: rgb(129, 66, 208);
/* oklch */ color: oklch(53.2% 0.207 299.6);
Tailwind
colors: {
  custom: {
    50: '#ab7bdf',
    500: '#8142d0',
    950: '#000000',
  },
}
SCSS
$custom: #8142d0;
$custom-light: #ab7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8142d0",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 266.62,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.20744,
    "h": 299.6
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#8142D0
secondary
#BAD599
accent
#E3449D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8142D0

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

Preview Lab → · Contrast checker → · Palette generator →

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