#8154DB#8154DB

#8154DB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.197 H 294.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8154DB
RGBrgb(129, 84, 219)
HSLhsl(260, 65%, 59%)
HSVhsv(260, 62%, 86%)
CMYKcmyk(41.1%, 61.6%, 0%, 14.1%)
CIE-LABlab(47.13, 48.26, -62.77)
CIE-LCHlch(47.13, 79.18, 307.55°)
OKLaboklab(56.49% 0.082 -0.179)
OKLCHoklch(56.49% 0.197 294.6)
XYZxyz(25.0064, 16.1217, 68.7984)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154DB #AEDB54
analogous
#546BDB #8154DB #C554DB
triadic
#8154DB #DB8154 #54DB81
tetradic
#8154DB #DB546B #AEDB54 #54DBC5
square
#8154DB #DB546B #AEDB54 #54DBC5
split-complementary
#8154DB #DBC554 #6BDB54
monochromatic
#471F95 #5F2AC8 #8154DB #A687E6 #CCB9F0

Accessibility & contrast

On white

4.97
#8154DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8154DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154DB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154DB#FFFFFF#000000##FFFFFF
##8154DB1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#697390
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8154db;
/* rgb */ color: rgb(129, 84, 219);
/* oklch */ color: oklch(56.5% 0.197 294.6);
Tailwind
colors: {
  custom: {
    50: '#ab86e7',
    500: '#8154db',
    950: '#000000',
  },
}
SCSS
$custom: #8154db;
$custom-light: #ab86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8154db",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 260,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.19687,
    "h": 294.6
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#8154DB
secondary
#CEE0AB
accent
#E840B0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8154DB

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

Preview Lab → · Contrast checker → · Palette generator →

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