#8151BF#8151BF

#8151BF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.167 H 301.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8151BF
RGBrgb(129, 81, 191)
HSLhsl(266, 46%, 53%)
HSVhsv(266, 58%, 75%)
CMYKcmyk(32.5%, 57.6%, 0%, 25.1%)
CIE-LABlab(44.68, 42.62, -50.62)
CIE-LCHlch(44.68, 66.17, 310.10°)
OKLaboklab(54.11% 0.0865 -0.1432)
OKLCHoklch(54.11% 0.167 301.1)
XYZxyz(21.3974, 14.3135, 50.9156)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151BF #8FBF51
analogous
#5158BF #8151BF #B851BF
triadic
#8151BF #BF8151 #51BF81
tetradic
#8151BF #BF5158 #8FBF51 #51BFB8
square
#8151BF #BF5158 #8FBF51 #51BFB8
split-complementary
#8151BF #BFB851 #58BF51
monochromatic
#46286D #63399A #8151BF #A17ECF #C2AAE0

Accessibility & contrast

On white

5.44
#8151BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8151BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151BF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151BF#FFFFFF#000000##FFFFFF
##8151BF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E69C3
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#746780
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8151bf;
/* rgb */ color: rgb(129, 81, 191);
/* oklch */ color: oklch(54.1% 0.167 301.1);
Tailwind
colors: {
  custom: {
    50: '#a984d3',
    500: '#8151bf',
    950: '#000000',
  },
}
SCSS
$custom: #8151bf;
$custom-light: #a984d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8151bf",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 266.182,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.16732,
    "h": 301.1
  },
  "luminance": 0.14314
}

Semantic roles & 50–950 ramp

primary
#8151BF
secondary
#B9CE9E
accent
#D6529C
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8151BF

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

Preview Lab → · Contrast checker → · Palette generator →

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