#8159CC#8159CC

#8159CC is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.172 H 296.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8159CC
RGBrgb(129, 89, 204)
HSLhsl(261, 53%, 57%)
HSVhsv(261, 56%, 80%)
CMYKcmyk(36.8%, 56.4%, 0%, 20%)
CIE-LABlab(47.20, 41.51, -54.09)
CIE-LCHlch(47.20, 68.18, 307.51°)
OKLaboklab(56.23% 0.0766 -0.1534)
OKLCHoklch(56.23% 0.172 296.5)
XYZxyz(23.5219, 16.1711, 58.9971)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159CC #A4CC59
analogous
#596ACC #8159CC #BB59CC
triadic
#8159CC #CC8159 #59CC81
tetradic
#8159CC #CC596A #A4CC59 #59CCBB
square
#8159CC #CC596A #A4CC59 #59CCBB
split-complementary
#8159CC #CCBB59 #6ACC59
monochromatic
#482883 #6136B1 #8159CC #A588DA #C8B7E9

Accessibility & contrast

On white

4.96
#8159CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8159CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159CC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159CC#FFFFFF#000000##FFFFFF
##8159CC1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#2F6EC9
Tritanopia (blue-blind)
#6F718A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8159cc;
/* rgb */ color: rgb(129, 89, 204);
/* oklch */ color: oklch(56.2% 0.172 296.5);
Tailwind
colors: {
  custom: {
    50: '#aa89dc',
    500: '#8159cc',
    950: '#000000',
  },
}
SCSS
$custom: #8159cc;
$custom-light: #aa89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8159cc",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 260.87,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.1715,
    "h": 296.5
  },
  "luminance": 0.16172
}

Semantic roles & 50–950 ramp

primary
#8159CC
secondary
#C7D8A9
accent
#DC4BAA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8159CC

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

Preview Lab → · Contrast checker → · Palette generator →

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