#8142D3#8142D3

#8142D3 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.211 H 298.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8142D3
RGBrgb(129, 66, 211)
HSLhsl(266, 62%, 54%)
HSVhsv(266, 69%, 83%)
CMYKcmyk(38.9%, 68.7%, 0%, 17.3%)
CIE-LABlab(43.16, 55.47, -64.63)
CIE-LCHlch(43.16, 85.17, 310.63°)
OKLaboklab(53.45% 0.102 -0.1844)
OKLCHoklch(53.45% 0.211 298.9)
XYZxyz(22.7564, 13.2664, 62.9771)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142D3 #94D342
analogous
#424CD3 #8142D3 #CA42D3
triadic
#8142D3 #D38142 #42D381
tetradic
#8142D3 #D3424C #94D342 #42D3CA
square
#8142D3 #D3424C #94D342 #42D3CA
split-complementary
#8142D3 #D3CA42 #4CD342
monochromatic
#471D7D #6329AF #8142D3 #A274DF #C3A5EA

Accessibility & contrast

On white

5.75
#8142D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8142D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142D3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142D3#FFFFFF#000000##FFFFFF
##8142D31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#6E6586
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8142d3;
/* rgb */ color: rgb(129, 66, 211);
/* oklch */ color: oklch(53.4% 0.211 298.9);
Tailwind
colors: {
  custom: {
    50: '#ac7be1',
    500: '#8142d3',
    950: '#000000',
  },
}
SCSS
$custom: #8142d3;
$custom-light: #ac7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8142d3",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 266.069,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53449,
    "c": 0.21072,
    "h": 298.9
  },
  "luminance": 0.13267
}

Semantic roles & 50–950 ramp

primary
#8142D3
secondary
#BCD79A
accent
#E5429F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8142D3

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

Preview Lab → · Contrast checker → · Palette generator →

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