#8142DA#8142DA

#8142DA is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.218 H 297.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8142DA
RGBrgb(129, 66, 218)
HSLhsl(265, 67%, 56%)
HSVhsv(265, 70%, 85%)
CMYKcmyk(40.8%, 69.7%, 0%, 14.5%)
CIE-LABlab(43.69, 57.21, -67.79)
CIE-LCHlch(43.69, 88.70, 310.16°)
OKLaboklab(53.99% 0.1008 -0.1937)
OKLCHoklch(53.99% 0.218 297.5)
XYZxyz(23.6531, 13.6251, 67.6998)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142DA #9BDA42
analogous
#424FDA #8142DA #CD42DA
triadic
#8142DA #DA8142 #42DA81
tetradic
#8142DA #DA424F #9BDA42 #42DACD
square
#8142DA #DA424F #9BDA42 #42DACD
split-complementary
#8142DA #DACD42 #4FDA42
monochromatic
#481A87 #6324BA #8142DA #A375E4 #C5A8EE

Accessibility & contrast

On white

5.64
#8142DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8142DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142DA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142DA#FFFFFF#000000##FFFFFF
##8142DA1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#6B6789
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8142da;
/* rgb */ color: rgb(129, 66, 218);
/* oklch */ color: oklch(54.0% 0.218 297.5);
Tailwind
colors: {
  custom: {
    50: '#ac7be6',
    500: '#8142da',
    950: '#000000',
  },
}
SCSS
$custom: #8142da;
$custom-light: #ac7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8142da",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 264.868,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.21834,
    "h": 297.5
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

primary
#8142DA
secondary
#C1DB9C
accent
#EA3EA3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8142DA

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

Preview Lab → · Contrast checker → · Palette generator →

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