#8151BC#8151BC

#8151BC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.9% C 0.164 H 301.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8151BC
RGBrgb(129, 81, 188)
HSLhsl(267, 44%, 53%)
HSVhsv(267, 57%, 74%)
CMYKcmyk(31.4%, 56.9%, 0%, 26.3%)
CIE-LABlab(44.49, 41.86, -49.17)
CIE-LCHlch(44.49, 64.57, 310.41°)
OKLaboklab(53.92% 0.0864 -0.139)
OKLCHoklch(53.92% 0.164 301.9)
XYZxyz(21.0707, 14.1828, 49.1947)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151BC #8CBC51
analogous
#5156BC #8151BC #B651BC
triadic
#8151BC #BC8151 #51BC81
tetradic
#8151BC #BC5156 #8CBC51 #51BCB6
square
#8151BC #BC5156 #8CBC51 #51BCB6
split-complementary
#8151BC #BCB651 #56BC51
monochromatic
#46296A #633A96 #8151BC #A17DCD #C1A9DE

Accessibility & contrast

On white

5.47
#8151BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8151BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151BC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151BC#FFFFFF#000000##FFFFFF
##8151BC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368C0
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#75667F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8151bc;
/* rgb */ color: rgb(129, 81, 188);
/* oklch */ color: oklch(53.9% 0.164 301.9);
Tailwind
colors: {
  custom: {
    50: '#a984d1',
    500: '#8151bc',
    950: '#000000',
  },
}
SCSS
$custom: #8151bc;
$custom-light: #a984d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8151bc",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 266.916,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53919,
    "c": 0.16368,
    "h": 301.9
  },
  "luminance": 0.14183
}

Semantic roles & 50–950 ramp

primary
#8151BC
secondary
#B7CC9D
accent
#D4549B
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8151BC

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

Preview Lab → · Contrast checker → · Palette generator →

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