#8159CE#8159CE

#8159CE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.174 H 296.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8159CE
RGBrgb(129, 89, 206)
HSLhsl(261, 54%, 58%)
HSVhsv(261, 57%, 81%)
CMYKcmyk(37.4%, 56.8%, 0%, 19.2%)
CIE-LABlab(47.32, 42.04, -55.03)
CIE-LCHlch(47.32, 69.25, 307.38°)
OKLaboklab(56.36% 0.0766 -0.1562)
OKLCHoklch(56.36% 0.174 296.1)
XYZxyz(23.7634, 16.2677, 60.2685)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159CE #A6CE59
analogous
#596BCE #8159CE #BC59CE
triadic
#8159CE #CE8159 #59CE81
tetradic
#8159CE #CE596B #A6CE59 #59CEBC
square
#8159CE #CE596B #A6CE59 #59CEBC
split-complementary
#8159CE #CEBC59 #6BCE59
monochromatic
#472785 #6135B5 #8159CE #A588DC #C9B8EA

Accessibility & contrast

On white

4.94
#8159CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8159CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159CE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159CE#FFFFFF#000000##FFFFFF
##8159CE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D2
Deuteranopia (green-blind)
#2D6FCB
Tritanopia (blue-blind)
#6F728B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8159ce;
/* rgb */ color: rgb(129, 89, 206);
/* oklch */ color: oklch(56.4% 0.174 296.1);
Tailwind
colors: {
  custom: {
    50: '#aa89de',
    500: '#8159ce',
    950: '#000000',
  },
}
SCSS
$custom: #8159ce;
$custom-light: #aa89de;
$custom-dark: #000000;
JSON
{
  "hex": "#8159ce",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 260.513,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.174,
    "h": 296.1
  },
  "luminance": 0.16268
}

Semantic roles & 50–950 ramp

primary
#8159CE
secondary
#C9D9AA
accent
#DE4AAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8159CE

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

Preview Lab → · Contrast checker → · Palette generator →

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