#8159CA#8159CA

#8159CA is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.1% C 0.169 H 296.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8159CA
RGBrgb(129, 89, 202)
HSLhsl(261, 52%, 57%)
HSVhsv(261, 56%, 79%)
CMYKcmyk(36.1%, 55.9%, 0%, 20.8%)
CIE-LABlab(47.07, 40.98, -53.14)
CIE-LCHlch(47.07, 67.11, 307.64°)
OKLaboklab(56.09% 0.0766 -0.1507)
OKLCHoklch(56.09% 0.169 296.9)
XYZxyz(23.2836, 16.0758, 57.7419)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159CA #A2CA59
analogous
#596ACA #8159CA #BA59CA
triadic
#8159CA #CA8159 #59CA81
tetradic
#8159CA #CA596A #A2CA59 #59CABA
square
#8159CA #CA596A #A2CA59 #59CABA
split-complementary
#8159CA #CABA59 #6ACA59
monochromatic
#482980 #6238AE #8159CA #A487D9 #C7B6E8

Accessibility & contrast

On white

4.98
#8159CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8159CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159CA#FFFFFF#000000##FFFFFF
##8159CA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#326EC7
Tritanopia (blue-blind)
#707089
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8159ca;
/* rgb */ color: rgb(129, 89, 202);
/* oklch */ color: oklch(56.1% 0.169 296.9);
Tailwind
colors: {
  custom: {
    50: '#aa89db',
    500: '#8159ca',
    950: '#000000',
  },
}
SCSS
$custom: #8159ca;
$custom-light: #aa89db;
$custom-dark: #000000;
JSON
{
  "hex": "#8159ca",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 261.239,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56093,
    "c": 0.169,
    "h": 296.9
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#8159CA
secondary
#C6D6A8
accent
#DB4DA9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8159CA

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

Preview Lab → · Contrast checker → · Palette generator →

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