#8159CD#8159CD

#8159CD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.3% C 0.173 H 296.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8159CD
RGBrgb(129, 89, 205)
HSLhsl(261, 54%, 58%)
HSVhsv(261, 57%, 80%)
CMYKcmyk(37.1%, 56.6%, 0%, 19.6%)
CIE-LABlab(47.26, 41.78, -54.56)
CIE-LCHlch(47.26, 68.72, 307.44°)
OKLaboklab(56.29% 0.0766 -0.1548)
OKLCHoklch(56.29% 0.173 296.3)
XYZxyz(23.6423, 16.2193, 59.6308)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159CD #A5CD59
analogous
#596BCD #8159CD #BB59CD
triadic
#8159CD #CD8159 #59CD81
tetradic
#8159CD #CD596B #A5CD59 #59CDBB
square
#8159CD #CD596B #A5CD59 #59CDBB
split-complementary
#8159CD #CDBB59 #6BCD59
monochromatic
#482884 #6136B3 #8159CD #A588DB #C8B7E9

Accessibility & contrast

On white

4.95
#8159CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8159CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159CD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159CD#FFFFFF#000000##FFFFFF
##8159CD1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D1
Deuteranopia (green-blind)
#2E6FCA
Tritanopia (blue-blind)
#6F718A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8159cd;
/* rgb */ color: rgb(129, 89, 205);
/* oklch */ color: oklch(56.3% 0.173 296.3);
Tailwind
colors: {
  custom: {
    50: '#aa89dd',
    500: '#8159cd',
    950: '#000000',
  },
}
SCSS
$custom: #8159cd;
$custom-light: #aa89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8159cd",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 260.69,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.17275,
    "h": 296.3
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#8159CD
secondary
#C8D8AA
accent
#DD4BAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8159CD

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

Preview Lab → · Contrast checker → · Palette generator →

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