#8142BE#8142BE

#8142BE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.188 H 303.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8142BE
RGBrgb(129, 66, 190)
HSLhsl(270, 49%, 50%)
HSVhsv(270, 65%, 75%)
CMYKcmyk(32.1%, 65.3%, 0%, 25.5%)
CIE-LABlab(41.66, 50.31, -54.89)
CIE-LCHlch(41.66, 74.46, 312.51°)
OKLaboklab(51.9% 0.1046 -0.1558)
OKLCHoklch(51.9% 0.188 303.9)
XYZxyz(20.2936, 12.2813, 50.0066)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142BE #7FBE42
analogous
#4342BE #8142BE #BE42BD
triadic
#8142BE #BE8142 #42BE81
tetradic
#8142BE #BE4342 #7FBE42 #42BDBE
square
#8142BE #BE4342 #7FBE42 #42BDBE
split-complementary
#8142BE #BDBE42 #42BE43
monochromatic
#432263 #623291 #8142BE #9F70CE #BE9DDD

Accessibility & contrast

On white

6.08
#8142BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8142BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142BE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142BE#FFFFFF#000000##FFFFFF
##8142BE1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#1A62BB
Tritanopia (blue-blind)
#755D7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8142be;
/* rgb */ color: rgb(129, 66, 190);
/* oklch */ color: oklch(51.9% 0.188 303.9);
Tailwind
colors: {
  custom: {
    50: '#aa7ad2',
    500: '#8142be',
    950: '#000000',
  },
}
SCSS
$custom: #8142be;
$custom-light: #aa7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8142be",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 270.484,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.18761,
    "h": 303.9
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

primary
#8142BE
secondary
#ADCA92
accent
#D84F93
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8142BE

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

Preview Lab → · Contrast checker → · Palette generator →

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