#8151DD#8151DD

#8151DD is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.2% C 0.203 H 294.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8151DD
RGBrgb(129, 81, 221)
HSLhsl(261, 67%, 59%)
HSVhsv(261, 63%, 87%)
CMYKcmyk(41.6%, 63.3%, 0%, 13.3%)
CIE-LABlab(46.67, 50.40, -64.65)
CIE-LCHlch(46.67, 81.98, 307.94°)
OKLaboklab(56.2% 0.0851 -0.1845)
OKLCHoklch(56.2% 0.203 294.8)
XYZxyz(25.0434, 15.7718, 70.1174)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151DD #ADDD51
analogous
#5167DD #8151DD #C751DD
triadic
#8151DD #DD8151 #51DD81
tetradic
#8151DD #DD5167 #ADDD51 #51DDC7
square
#8151DD #DD5167 #ADDD51 #51DDC7
split-complementary
#8151DD #DDC751 #67DD51
monochromatic
#471D96 #5F27C9 #8151DD #A684E7 #CBB7F1

Accessibility & contrast

On white

5.05
#8151DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8151DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151DD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151DD#FFFFFF#000000##FFFFFF
##8151DD1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#697190
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8151dd;
/* rgb */ color: rgb(129, 81, 221);
/* oklch */ color: oklch(56.2% 0.203 294.8);
Tailwind
colors: {
  custom: {
    50: '#ac84e8',
    500: '#8151dd',
    950: '#000000',
  },
}
SCSS
$custom: #8151dd;
$custom-light: #ac84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8151dd",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 260.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56202,
    "c": 0.20319,
    "h": 294.8
  },
  "luminance": 0.15772
}

Semantic roles & 50–950 ramp

primary
#8151DD
secondary
#CEE0AA
accent
#EA3EAF
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8151DD

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

Preview Lab → · Contrast checker → · Palette generator →

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