#8142C9#8142C9

#8142C9 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.200 H 301.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8142C9
RGBrgb(129, 66, 201)
HSLhsl(268, 56%, 52%)
HSVhsv(268, 67%, 79%)
CMYKcmyk(35.8%, 67.2%, 0%, 21.2%)
CIE-LABlab(42.43, 52.99, -60.05)
CIE-LCHlch(42.43, 80.09, 311.43°)
OKLaboklab(52.7% 0.1034 -0.1709)
OKLCHoklch(52.7% 0.2 301.2)
XYZxyz(21.5415, 12.7805, 56.5790)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142C9 #8AC942
analogous
#4246C9 #8142C9 #C542C9
triadic
#8142C9 #C98142 #42C981
tetradic
#8142C9 #C94246 #8AC942 #42C9C5
square
#8142C9 #C94246 #8AC942 #42C9C5
split-complementary
#8142C9 #C9C542 #46C942
monochromatic
#462070 #632EA0 #8142C9 #A172D7 #C0A1E4

Accessibility & contrast

On white

5.91
#8142C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8142C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142C9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142C9#FFFFFF#000000##FFFFFF
##8142C91.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#726180
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8142c9;
/* rgb */ color: rgb(129, 66, 201);
/* oklch */ color: oklch(52.7% 0.200 301.2);
Tailwind
colors: {
  custom: {
    50: '#ab7bda',
    500: '#8142c9',
    950: '#000000',
  },
}
SCSS
$custom: #8142c9;
$custom-light: #ab7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8142c9",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 268,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.19975,
    "h": 301.2
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#8142C9
secondary
#B5D196
accent
#DF4999
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8142C9

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

Preview Lab → · Contrast checker → · Palette generator →

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