#8156DB#8156DB

#8156DB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.194 H 294.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8156DB
RGBrgb(129, 86, 219)
HSLhsl(259, 65%, 60%)
HSVhsv(259, 61%, 86%)
CMYKcmyk(41.1%, 60.7%, 0%, 14.1%)
CIE-LABlab(47.54, 47.17, -62.11)
CIE-LCHlch(47.54, 77.99, 307.21°)
OKLaboklab(56.79% 0.0798 -0.177)
OKLCHoklch(56.79% 0.194 294.3)
XYZxyz(25.1638, 16.4366, 68.8509)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156DB #B0DB56
analogous
#566EDB #8156DB #C356DB
triadic
#8156DB #DB8156 #56DB81
tetradic
#8156DB #DB566E #B0DB56 #56DBC3
square
#8156DB #DB566E #B0DB56 #56DBC3
split-complementary
#8156DB #DBC356 #6EDB56
monochromatic
#462097 #5E2BC9 #8156DB #A788E6 #CCBBF0

Accessibility & contrast

On white

4.90
#8156DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8156DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156DB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156DB#FFFFFF#000000##FFFFFF
##8156DB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#697490
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8156db;
/* rgb */ color: rgb(129, 86, 219);
/* oklch */ color: oklch(56.8% 0.194 294.3);
Tailwind
colors: {
  custom: {
    50: '#ab87e7',
    500: '#8156db',
    950: '#000000',
  },
}
SCSS
$custom: #8156db;
$custom-light: #ab87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8156db",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 259.398,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.19418,
    "h": 294.3
  },
  "luminance": 0.16437
}

Semantic roles & 50–950 ramp

primary
#8156DB
secondary
#CFE0AD
accent
#E840B2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8156DB

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

Preview Lab → · Contrast checker → · Palette generator →

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