#8159D3#8159D3

#8159D3 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.180 H 295.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8159D3
RGBrgb(129, 89, 211)
HSLhsl(260, 58%, 59%)
HSVhsv(260, 58%, 83%)
CMYKcmyk(38.9%, 57.8%, 0%, 17.3%)
CIE-LABlab(47.64, 43.37, -57.38)
CIE-LCHlch(47.64, 71.93, 307.08°)
OKLaboklab(56.69% 0.0766 -0.1631)
OKLCHoklch(56.69% 0.18 295.1)
XYZxyz(24.3804, 16.5145, 63.5185)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159D3 #ABD359
analogous
#596ED3 #8159D3 #BE59D3
triadic
#8159D3 #D38159 #59D381
tetradic
#8159D3 #D3596E #ABD359 #59D3BE
square
#8159D3 #D3596E #ABD359 #59D3BE
split-complementary
#8159D3 #D3BE59 #6ED359
monochromatic
#47258C #6032BD #8159D3 #A689E0 #CABAED

Accessibility & contrast

On white

4.88
#8159D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8159D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159D3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159D3#FFFFFF#000000##FFFFFF
##8159D31.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1072D7
Deuteranopia (green-blind)
#256FD0
Tritanopia (blue-blind)
#6D738D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8159d3;
/* rgb */ color: rgb(129, 89, 211);
/* oklch */ color: oklch(56.7% 0.180 295.1);
Tailwind
colors: {
  custom: {
    50: '#aa89e1',
    500: '#8159d3',
    950: '#000000',
  },
}
SCSS
$custom: #8159d3;
$custom-light: #aa89e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8159d3",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 211
  },
  "hsl": {
    "h": 259.672,
    "s": 58.095,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56693,
    "c": 0.18022,
    "h": 295.1
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#8159D3
secondary
#CCDCAC
accent
#E146AF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8159D3

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

Preview Lab → · Contrast checker → · Palette generator →

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