#8159DB#8159DB

#8159DB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.190 H 293.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8159DB
RGBrgb(129, 89, 219)
HSLhsl(258, 64%, 60%)
HSVhsv(258, 59%, 86%)
CMYKcmyk(41.1%, 59.4%, 0%, 14.1%)
CIE-LABlab(48.17, 45.52, -61.10)
CIE-LCHlch(48.17, 76.19, 306.68°)
OKLaboklab(57.24% 0.0764 -0.1741)
OKLCHoklch(57.24% 0.19 293.7)
XYZxyz(25.4084, 16.9257, 68.9324)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159DB #B3DB59
analogous
#5972DB #8159DB #C259DB
triadic
#8159DB #DB8159 #59DB81
tetradic
#8159DB #DB5972 #B3DB59 #59DBC2
square
#8159DB #DB5972 #B3DB59 #59DBC2
split-complementary
#8159DB #DBC259 #72DB59
monochromatic
#462199 #5D2CCB #8159DB #A78BE6 #CDBEF1

Accessibility & contrast

On white

4.79
#8159DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8159DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159DB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159DB#FFFFFF#000000##FFFFFF
##8159DB1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#1070D8
Tritanopia (blue-blind)
#697692
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8159db;
/* rgb */ color: rgb(129, 89, 219);
/* oklch */ color: oklch(57.2% 0.190 293.7);
Tailwind
colors: {
  custom: {
    50: '#ab89e7',
    500: '#8159db',
    950: '#000000',
  },
}
SCSS
$custom: #8159db;
$custom-light: #ab89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8159db",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 258.462,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.19009,
    "h": 293.7
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#8159DB
secondary
#D1E1AF
accent
#CC1995
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8159DB

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

Preview Lab → · Contrast checker → · Palette generator →

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