#8151DE#8151DE

#8151DE is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.204 H 294.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8151DE
RGBrgb(129, 81, 222)
HSLhsl(260, 68%, 59%)
HSVhsv(260, 64%, 87%)
CMYKcmyk(41.9%, 63.5%, 0%, 12.9%)
CIE-LABlab(46.74, 50.66, -65.11)
CIE-LCHlch(46.74, 82.50, 307.89°)
OKLaboklab(56.28% 0.085 -0.1858)
OKLCHoklch(56.28% 0.204 294.6)
XYZxyz(25.1770, 15.8253, 70.8212)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151DE #AEDE51
analogous
#5167DE #8151DE #C851DE
triadic
#8151DE #DE8151 #51DE81
tetradic
#8151DE #DE5167 #AEDE51 #51DEC8
square
#8151DE #DE5167 #AEDE51 #51DEC8
split-complementary
#8151DE #DEC851 #67DE51
monochromatic
#471D98 #5F27CB #8151DE #A684E8 #CCB8F2

Accessibility & contrast

On white

5.04
#8151DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8151DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151DE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151DE#FFFFFF#000000##FFFFFF
##8151DE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#687290
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8151de;
/* rgb */ color: rgb(129, 81, 222);
/* oklch */ color: oklch(56.3% 0.204 294.6);
Tailwind
colors: {
  custom: {
    50: '#ac84e9',
    500: '#8151de',
    950: '#000000',
  },
}
SCSS
$custom: #8151de;
$custom-light: #ac84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8151de",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 260.426,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56275,
    "c": 0.20437,
    "h": 294.6
  },
  "luminance": 0.15826
}

Semantic roles & 50–950 ramp

primary
#8151DE
secondary
#CEE1AA
accent
#EB3DB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8151DE

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

Preview Lab → · Contrast checker → · Palette generator →

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