#8151DB#8151DB

#8151DB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.201 H 295.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8151DB
RGBrgb(129, 81, 219)
HSLhsl(261, 66%, 59%)
HSVhsv(261, 63%, 86%)
CMYKcmyk(41.1%, 63%, 0%, 14.1%)
CIE-LABlab(46.53, 49.87, -63.74)
CIE-LCHlch(46.53, 80.93, 308.04°)
OKLaboklab(56.06% 0.0853 -0.1818)
OKLCHoklch(56.06% 0.201 295.1)
XYZxyz(24.7785, 15.6659, 68.7224)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151DB #ABDB51
analogous
#5166DB #8151DB #C651DB
triadic
#8151DB #DB8151 #51DB81
tetradic
#8151DB #DB5166 #ABDB51 #51DBC6
square
#8151DB #DB5166 #ABDB51 #51DBC6
split-complementary
#8151DB #DBC651 #66DB51
monochromatic
#471E93 #6029C6 #8151DB #A684E5 #CAB6F0

Accessibility & contrast

On white

5.08
#8151DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8151DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151DB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151DB#FFFFFF#000000##FFFFFF
##8151DB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#69718F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8151db;
/* rgb */ color: rgb(129, 81, 219);
/* oklch */ color: oklch(56.1% 0.201 295.1);
Tailwind
colors: {
  custom: {
    50: '#ac84e7',
    500: '#8151db',
    950: '#000000',
  },
}
SCSS
$custom: #8151db;
$custom-light: #ac84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8151db",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 260.87,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56055,
    "c": 0.20083,
    "h": 295.1
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#8151DB
secondary
#CCDFA9
accent
#E93FAE
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8151DB

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

Preview Lab → · Contrast checker → · Palette generator →

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