#8159DC#8159DC

#8159DC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.191 H 293.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8159DC
RGBrgb(129, 89, 220)
HSLhsl(258, 65%, 61%)
HSVhsv(258, 60%, 86%)
CMYKcmyk(41.4%, 59.5%, 0%, 13.7%)
CIE-LABlab(48.23, 45.78, -61.56)
CIE-LCHlch(48.23, 76.72, 306.64°)
OKLaboklab(57.31% 0.0764 -0.1754)
OKLCHoklch(57.31% 0.191 293.5)
XYZxyz(25.5404, 16.9785, 69.6278)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159DC #B4DC59
analogous
#5972DC #8159DC #C359DC
triadic
#8159DC #DC8159 #59DC81
tetradic
#8159DC #DC5972 #B4DC59 #59DCC3
square
#8159DC #DC5972 #B4DC59 #59DCC3
split-complementary
#8159DC #DCC359 #72DC59
monochromatic
#46209A #5C2BCD #8159DC #A78CE7 #CEBEF1

Accessibility & contrast

On white

4.78
#8159DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8159DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159DC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159DC#FFFFFF#000000##FFFFFF
##8159DC1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0B70D9
Tritanopia (blue-blind)
#697692
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8159dc;
/* rgb */ color: rgb(129, 89, 220);
/* oklch */ color: oklch(57.3% 0.191 293.5);
Tailwind
colors: {
  custom: {
    50: '#ab89e8',
    500: '#8159dc',
    950: '#000000',
  },
}
SCSS
$custom: #8159dc;
$custom-light: #ab89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8159dc",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 258.321,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.19131,
    "h": 293.5
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#8159DC
secondary
#D2E1AF
accent
#CD1896
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8159DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8159DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva