#8142D9#8142D9

#8142D9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.217 H 297.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8142D9
RGBrgb(129, 66, 217)
HSLhsl(265, 67%, 55%)
HSVhsv(265, 70%, 85%)
CMYKcmyk(40.6%, 69.6%, 0%, 14.9%)
CIE-LABlab(43.61, 56.96, -67.34)
CIE-LCHlch(43.61, 88.20, 310.23°)
OKLaboklab(53.91% 0.101 -0.1924)
OKLCHoklch(53.91% 0.217 297.7)
XYZxyz(23.5226, 13.5729, 67.0127)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142D9 #9AD942
analogous
#424ED9 #8142D9 #CC42D9
triadic
#8142D9 #D98142 #42D981
tetradic
#8142D9 #D9424E #9AD942 #42D9CC
square
#8142D9 #D9424E #9AD942 #42D9CC
split-complementary
#8142D9 #D9CC42 #4ED942
monochromatic
#471B86 #6325B9 #8142D9 #A375E3 #C5A8ED

Accessibility & contrast

On white

5.65
#8142D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8142D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142D9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142D9#FFFFFF#000000##FFFFFF
##8142D91.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#6B6789
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8142d9;
/* rgb */ color: rgb(129, 66, 217);
/* oklch */ color: oklch(53.9% 0.217 297.7);
Tailwind
colors: {
  custom: {
    50: '#ac7be6',
    500: '#8142d9',
    950: '#000000',
  },
}
SCSS
$custom: #8142d9;
$custom-light: #ac7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8142d9",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 265.033,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53913,
    "c": 0.21725,
    "h": 297.7
  },
  "luminance": 0.13573
}

Semantic roles & 50–950 ramp

primary
#8142D9
secondary
#C1DB9C
accent
#E93EA2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8142D9

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

Preview Lab → · Contrast checker → · Palette generator →

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