#8151BB#8151BB

#8151BB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.162 H 302.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8151BB
RGBrgb(129, 81, 187)
HSLhsl(267, 44%, 53%)
HSVhsv(267, 57%, 73%)
CMYKcmyk(31%, 56.7%, 0%, 26.7%)
CIE-LABlab(44.43, 41.61, -48.68)
CIE-LCHlch(44.43, 64.04, 310.52°)
OKLaboklab(53.85% 0.0864 -0.1376)
OKLCHoklch(53.85% 0.162 302.1)
XYZxyz(20.9633, 14.1398, 48.6289)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151BB #8BBB51
analogous
#5156BB #8151BB #B651BB
triadic
#8151BB #BB8151 #51BB81
tetradic
#8151BB #BB5156 #8BBB51 #51BBB6
square
#8151BB #BB5156 #8BBB51 #51BBB6
split-complementary
#8151BB #BBB651 #56BB51
monochromatic
#462969 #633A95 #8151BB #A17DCC #C1A9DD

Accessibility & contrast

On white

5.49
#8151BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8151BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151BB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151BB#FFFFFF#000000##FFFFFF
##8151BB1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BF
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#76667E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8151bb;
/* rgb */ color: rgb(129, 81, 187);
/* oklch */ color: oklch(53.9% 0.162 302.1);
Tailwind
colors: {
  custom: {
    50: '#a984d0',
    500: '#8151bb',
    950: '#000000',
  },
}
SCSS
$custom: #8151bb;
$custom-light: #a984d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8151bb",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 267.17,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53854,
    "c": 0.16246,
    "h": 302.1
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

primary
#8151BB
secondary
#B6CB9D
accent
#D4549A
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8151BB

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

Preview Lab → · Contrast checker → · Palette generator →

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