#8152BB#8152BB

#8152BB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.161 H 301.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8152BB
RGBrgb(129, 82, 187)
HSLhsl(267, 44%, 53%)
HSVhsv(267, 56%, 73%)
CMYKcmyk(31%, 56.1%, 0%, 26.7%)
CIE-LABlab(44.65, 41.05, -48.34)
CIE-LCHlch(44.65, 63.42, 310.34°)
OKLaboklab(54.01% 0.0851 -0.1366)
OKLCHoklch(54.01% 0.161 301.9)
XYZxyz(21.0381, 14.2895, 48.6539)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152BB #8CBB52
analogous
#5258BB #8152BB #B552BB
triadic
#8152BB #BB8152 #52BB81
tetradic
#8152BB #BB5258 #8CBB52 #52BBB5
square
#8152BB #BB5258 #8CBB52 #52BBB5
split-complementary
#8152BB #BBB552 #58BB52
monochromatic
#462969 #633B95 #8152BB #A17ECC #C1AADE

Accessibility & contrast

On white

5.44
#8152BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8152BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152BB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152BB#FFFFFF#000000##FFFFFF
##8152BB1.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)
#2769BE
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#76677E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8152bb;
/* rgb */ color: rgb(129, 82, 187);
/* oklch */ color: oklch(54.0% 0.161 301.9);
Tailwind
colors: {
  custom: {
    50: '#a984d0',
    500: '#8152bb',
    950: '#000000',
  },
}
SCSS
$custom: #8152bb;
$custom-light: #a984d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8152bb",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 266.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5401,
    "c": 0.16093,
    "h": 301.9
  },
  "luminance": 0.1429
}

Semantic roles & 50–950 ramp

primary
#8152BB
secondary
#B7CB9E
accent
#D3549B
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8152BB

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

Preview Lab → · Contrast checker → · Palette generator →

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