#8142D4#8142D4

#8142D4 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.212 H 298.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8142D4
RGBrgb(129, 66, 212)
HSLhsl(266, 63%, 55%)
HSVhsv(266, 69%, 83%)
CMYKcmyk(39.2%, 68.9%, 0%, 16.9%)
CIE-LABlab(43.24, 55.71, -65.09)
CIE-LCHlch(43.24, 85.68, 310.56°)
OKLaboklab(53.53% 0.1018 -0.1857)
OKLCHoklch(53.53% 0.212 298.7)
XYZxyz(22.8821, 13.3167, 63.6394)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142D4 #95D442
analogous
#424CD4 #8142D4 #CA42D4
triadic
#8142D4 #D48142 #42D481
tetradic
#8142D4 #D4424C #95D442 #42D4CA
square
#8142D4 #D4424C #95D442 #42D4CA
split-complementary
#8142D4 #D4CA42 #4CD442
monochromatic
#471D7F #6328B1 #8142D4 #A274DF #C3A6EB

Accessibility & contrast

On white

5.73
#8142D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8142D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142D4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142D4#FFFFFF#000000##FFFFFF
##8142D41.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#6D6586
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8142d4;
/* rgb */ color: rgb(129, 66, 212);
/* oklch */ color: oklch(53.5% 0.212 298.7);
Tailwind
colors: {
  custom: {
    50: '#ac7be2',
    500: '#8142d4',
    950: '#000000',
  },
}
SCSS
$custom: #8142d4;
$custom-light: #ac7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#8142d4",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 265.89,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53526,
    "c": 0.21181,
    "h": 298.7
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#8142D4
secondary
#BDD89A
accent
#E6429F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8142D4

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

Preview Lab → · Contrast checker → · Palette generator →

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