#8159DD#8159DD

#8159DD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.4% C 0.193 H 293.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8159DD
RGBrgb(129, 89, 221)
HSLhsl(258, 66%, 61%)
HSVhsv(258, 60%, 87%)
CMYKcmyk(41.6%, 59.7%, 0%, 13.3%)
CIE-LABlab(48.30, 46.05, -62.02)
CIE-LCHlch(48.30, 77.25, 306.60°)
OKLaboklab(57.38% 0.0763 -0.1768)
OKLCHoklch(57.38% 0.193 293.4)
XYZxyz(25.6733, 17.0317, 70.3274)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159DD #B5DD59
analogous
#5973DD #8159DD #C359DD
triadic
#8159DD #DD8159 #59DD81
tetradic
#8159DD #DD5973 #B5DD59 #59DDC3
square
#8159DD #DD5973 #B5DD59 #59DDC3
split-complementary
#8159DD #DDC359 #73DD59
monochromatic
#45209C #5C2ACF #8159DD #A88CE7 #CEBFF2

Accessibility & contrast

On white

4.77
#8159DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8159DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159DD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159DD#FFFFFF#000000##FFFFFF
##8159DD1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#0670DA
Tritanopia (blue-blind)
#687693
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8159dd;
/* rgb */ color: rgb(129, 89, 221);
/* oklch */ color: oklch(57.4% 0.193 293.4);
Tailwind
colors: {
  custom: {
    50: '#ab89e8',
    500: '#8159dd',
    950: '#000000',
  },
}
SCSS
$custom: #8159dd;
$custom-light: #ab89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8159dd",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 258.182,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57384,
    "c": 0.19255,
    "h": 293.4
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8159DD

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

Preview Lab → · Contrast checker → · Palette generator →

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