#8159CF#8159CF

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

Color values

HEX#8159CF
RGBrgb(129, 89, 207)
HSLhsl(260, 55%, 58%)
HSVhsv(260, 57%, 81%)
CMYKcmyk(37.7%, 57%, 0%, 18.8%)
CIE-LABlab(47.39, 42.31, -55.51)
CIE-LCHlch(47.39, 69.79, 307.31°)
OKLaboklab(56.42% 0.0766 -0.1576)
OKLCHoklch(56.42% 0.175 295.9)
XYZxyz(23.8852, 16.3164, 60.9104)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159CF #A7CF59
analogous
#596CCF #8159CF #BC59CF
triadic
#8159CF #CF8159 #59CF81
tetradic
#8159CF #CF596C #A7CF59 #59CFBC
square
#8159CF #CF596C #A7CF59 #59CFBC
split-complementary
#8159CF #CFBC59 #6CCF59
monochromatic
#472787 #6135B6 #8159CF #A588DD #C9B8EA

Accessibility & contrast

On white

4.93
#8159CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8159CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159CF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159CF#FFFFFF#000000##FFFFFF
##8159CF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D3
Deuteranopia (green-blind)
#2B6FCC
Tritanopia (blue-blind)
#6E728B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8159cf;
/* rgb */ color: rgb(129, 89, 207);
/* oklch */ color: oklch(56.4% 0.175 295.9);
Tailwind
colors: {
  custom: {
    50: '#aa89de',
    500: '#8159cf',
    950: '#000000',
  },
}
SCSS
$custom: #8159cf;
$custom-light: #aa89de;
$custom-dark: #000000;
JSON
{
  "hex": "#8159cf",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 260.339,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56424,
    "c": 0.17524,
    "h": 295.9
  },
  "luminance": 0.16317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8159CF

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

Preview Lab → · Contrast checker → · Palette generator →

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