#8142BF#8142BF

#8142BF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.189 H 303.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8142BF
RGBrgb(129, 66, 191)
HSLhsl(270, 49%, 50%)
HSVhsv(270, 65%, 75%)
CMYKcmyk(32.5%, 65.4%, 0%, 25.1%)
CIE-LABlab(41.73, 50.55, -55.37)
CIE-LCHlch(41.73, 74.97, 312.40°)
OKLaboklab(51.97% 0.1045 -0.1572)
OKLCHoklch(51.97% 0.189 303.6)
XYZxyz(20.4033, 12.3252, 50.5842)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142BF #80BF42
analogous
#4242BF #8142BF #BF42BE
triadic
#8142BF #BF8142 #42BF81
tetradic
#8142BF #BF4242 #80BF42 #42BEBF
square
#8142BF #BF4242 #80BF42 #42BEBF
split-complementary
#8142BF #BEBF42 #42BF42
monochromatic
#442265 #623292 #8142BF #9F70CE #BE9DDE

Accessibility & contrast

On white

6.06
#8142BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8142BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142BF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142BF#FFFFFF#000000##FFFFFF
##8142BF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#1762BC
Tritanopia (blue-blind)
#755D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8142bf;
/* rgb */ color: rgb(129, 66, 191);
/* oklch */ color: oklch(52.0% 0.189 303.6);
Tailwind
colors: {
  custom: {
    50: '#aa7ad3',
    500: '#8142bf',
    950: '#000000',
  },
}
SCSS
$custom: #8142bf;
$custom-light: #aa7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#8142bf",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 270.24,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51969,
    "c": 0.18871,
    "h": 303.6
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

primary
#8142BF
secondary
#AECA93
accent
#D94F93
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8142BF

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

Preview Lab → · Contrast checker → · Palette generator →

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