#8142CE#8142CE

#8142CE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.205 H 300.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8142CE
RGBrgb(129, 66, 206)
HSLhsl(267, 59%, 53%)
HSVhsv(267, 68%, 81%)
CMYKcmyk(37.4%, 68%, 0%, 19.2%)
CIE-LABlab(42.79, 54.22, -62.35)
CIE-LCHlch(42.79, 82.63, 311.01°)
OKLaboklab(53.07% 0.1027 -0.1777)
OKLCHoklch(53.07% 0.205 300)
XYZxyz(22.1393, 13.0196, 59.7272)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142CE #8FCE42
analogous
#4249CE #8142CE #C742CE
triadic
#8142CE #CE8142 #42CE81
tetradic
#8142CE #CE4249 #8FCE42 #42CEC7
square
#8142CE #CE4249 #8FCE42 #42CEC7
split-complementary
#8142CE #CEC742 #49CE42
monochromatic
#461F77 #632BA7 #8142CE #A173DB #C2A3E7

Accessibility & contrast

On white

5.83
#8142CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8142CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142CE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142CE#FFFFFF#000000##FFFFFF
##8142CE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#706383
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8142ce;
/* rgb */ color: rgb(129, 66, 206);
/* oklch */ color: oklch(53.1% 0.205 300.0);
Tailwind
colors: {
  custom: {
    50: '#ab7bde',
    500: '#8142ce',
    950: '#000000',
  },
}
SCSS
$custom: #8142ce;
$custom-light: #ab7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8142ce",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 267,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53069,
    "c": 0.20525,
    "h": 300
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#8142CE
secondary
#B9D498
accent
#E2469C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8142CE

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

Preview Lab → · Contrast checker → · Palette generator →

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