#8142D2#8142D2

#8142D2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.210 H 299.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8142D2
RGBrgb(129, 66, 210)
HSLhsl(266, 62%, 54%)
HSVhsv(266, 69%, 82%)
CMYKcmyk(38.6%, 68.6%, 0%, 17.6%)
CIE-LABlab(43.09, 55.22, -64.18)
CIE-LCHlch(43.09, 84.66, 310.71°)
OKLaboklab(53.37% 0.1021 -0.1831)
OKLCHoklch(53.37% 0.21 299.2)
XYZxyz(22.6314, 13.2164, 62.3190)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142D2 #93D242
analogous
#424BD2 #8142D2 #C942D2
triadic
#8142D2 #D28142 #42D281
tetradic
#8142D2 #D2424B #93D242 #42D2C9
square
#8142D2 #D2424B #93D242 #42D2C9
split-complementary
#8142D2 #D2C942 #4BD242
monochromatic
#471E7C #6329AD #8142D2 #A273DE #C3A5EA

Accessibility & contrast

On white

5.76
#8142D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8142D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142D2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142D2#FFFFFF#000000##FFFFFF
##8142D21.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#6E6485
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8142d2;
/* rgb */ color: rgb(129, 66, 210);
/* oklch */ color: oklch(53.4% 0.210 299.2);
Tailwind
colors: {
  custom: {
    50: '#ac7be1',
    500: '#8142d2',
    950: '#000000',
  },
}
SCSS
$custom: #8142d2;
$custom-light: #ac7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8142d2",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 266.25,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.20963,
    "h": 299.2
  },
  "luminance": 0.13217
}

Semantic roles & 50–950 ramp

primary
#8142D2
secondary
#BCD799
accent
#E5439E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8142D2

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

Preview Lab → · Contrast checker → · Palette generator →

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