#8151DA#8151DA

#8151DA is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.200 H 295.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8151DA
RGBrgb(129, 81, 218)
HSLhsl(261, 65%, 59%)
HSVhsv(261, 63%, 85%)
CMYKcmyk(40.8%, 62.8%, 0%, 14.5%)
CIE-LABlab(46.46, 49.61, -63.29)
CIE-LCHlch(46.46, 80.41, 308.09°)
OKLaboklab(55.98% 0.0854 -0.1805)
OKLCHoklch(55.98% 0.2 295.3)
XYZxyz(24.6472, 15.6134, 68.0312)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151DA #AADA51
analogous
#5165DA #8151DA #C551DA
triadic
#8151DA #DA8151 #51DA81
tetradic
#8151DA #DA5165 #AADA51 #51DAC5
square
#8151DA #DA5165 #AADA51 #51DAC5
split-complementary
#8151DA #DAC551 #65DA51
monochromatic
#471F92 #602AC4 #8151DA #A683E5 #CAB6EF

Accessibility & contrast

On white

5.09
#8151DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8151DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151DA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151DA#FFFFFF#000000##FFFFFF
##8151DA1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#6A708E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8151da;
/* rgb */ color: rgb(129, 81, 218);
/* oklch */ color: oklch(56.0% 0.200 295.3);
Tailwind
colors: {
  custom: {
    50: '#ac84e6',
    500: '#8151da',
    950: '#000000',
  },
}
SCSS
$custom: #8151da;
$custom-light: #ac84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8151da",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 261.022,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55983,
    "c": 0.19966,
    "h": 295.3
  },
  "luminance": 0.15614
}

Semantic roles & 50–950 ramp

primary
#8151DA
secondary
#CCDEA8
accent
#E840AD
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8151DA

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

Preview Lab → · Contrast checker → · Palette generator →

#8151DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva