#8159DE#8159DE

#8159DE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.194 H 293.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8159DE
RGBrgb(129, 89, 222)
HSLhsl(258, 67%, 61%)
HSVhsv(258, 60%, 87%)
CMYKcmyk(41.9%, 59.9%, 0%, 12.9%)
CIE-LABlab(48.37, 46.33, -62.48)
CIE-LCHlch(48.37, 77.78, 306.55°)
OKLaboklab(57.46% 0.0763 -0.1781)
OKLCHoklch(57.46% 0.194 293.2)
XYZxyz(25.8069, 17.0851, 71.0311)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159DE #B6DE59
analogous
#5973DE #8159DE #C359DE
triadic
#8159DE #DE8159 #59DE81
tetradic
#8159DE #DE5973 #B6DE59 #59DEC3
square
#8159DE #DE5973 #B6DE59 #59DEC3
split-complementary
#8159DE #DEC359 #73DE59
monochromatic
#451F9D #5C29D0 #8159DE #A88CE8 #CEBFF2

Accessibility & contrast

On white

4.75
#8159DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8159DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159DE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159DE#FFFFFF#000000##FFFFFF
##8159DE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#687793
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8159de;
/* rgb */ color: rgb(129, 89, 222);
/* oklch */ color: oklch(57.5% 0.194 293.2);
Tailwind
colors: {
  custom: {
    50: '#ab89e9',
    500: '#8159de',
    950: '#000000',
  },
}
SCSS
$custom: #8159de;
$custom-light: #ab89e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8159de",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 258.045,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57455,
    "c": 0.19377,
    "h": 293.2
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#8159DE
secondary
#D3E2B0
accent
#CF1797
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8159DE

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

Preview Lab → · Contrast checker → · Palette generator →

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