#8159C8#8159C8

#8159C8 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.0% C 0.166 H 297.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8159C8
RGBrgb(129, 89, 200)
HSLhsl(262, 50%, 57%)
HSVhsv(262, 56%, 78%)
CMYKcmyk(35.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(46.95, 40.46, -52.18)
CIE-LCHlch(46.95, 66.03, 307.79°)
OKLaboklab(55.96% 0.0765 -0.1479)
OKLCHoklch(55.96% 0.166 297.4)
XYZxyz(23.0484, 15.9817, 56.5028)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159C8 #A0C859
analogous
#5969C8 #8159C8 #B959C8
triadic
#8159C8 #C88159 #59C881
tetradic
#8159C8 #C85969 #A0C859 #59C8B9
square
#8159C8 #C85969 #A0C859 #59C8B9
split-complementary
#8159C8 #C8B959 #69C859
monochromatic
#48297D #6239AB #8159C8 #A487D7 #C7B5E6

Accessibility & contrast

On white

5.00
#8159C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8159C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159C8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159C8#FFFFFF#000000##FFFFFF
##8159C81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#717088
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8159c8;
/* rgb */ color: rgb(129, 89, 200);
/* oklch */ color: oklch(56.0% 0.166 297.4);
Tailwind
colors: {
  custom: {
    50: '#a989d9',
    500: '#8159c8',
    950: '#000000',
  },
}
SCSS
$custom: #8159c8;
$custom-light: #a989d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8159c8",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 261.622,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.16649,
    "h": 297.4
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#8159C8
secondary
#C5D5A8
accent
#DA4EA7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8159C8

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

Preview Lab → · Contrast checker → · Palette generator →

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