#8152BC#8152BC

#8152BC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.162 H 301.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8152BC
RGBrgb(129, 82, 188)
HSLhsl(267, 44%, 53%)
HSVhsv(267, 56%, 74%)
CMYKcmyk(31.4%, 56.4%, 0%, 26.3%)
CIE-LABlab(44.71, 41.30, -48.83)
CIE-LCHlch(44.71, 63.95, 310.23°)
OKLaboklab(54.07% 0.0851 -0.138)
OKLCHoklch(54.07% 0.162 301.7)
XYZxyz(21.1455, 14.3325, 49.2196)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152BC #8DBC52
analogous
#5258BC #8152BC #B652BC
triadic
#8152BC #BC8152 #52BC81
tetradic
#8152BC #BC5258 #8DBC52 #52BCB6
square
#8152BC #BC5258 #8DBC52 #52BCB6
split-complementary
#8152BC #BCB652 #58BC52
monochromatic
#46296A #633A97 #8152BC #A17ECD #C1AADE

Accessibility & contrast

On white

5.43
#8152BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8152BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152BC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152BC#FFFFFF#000000##FFFFFF
##8152BC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669C0
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#75677F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8152bc;
/* rgb */ color: rgb(129, 82, 188);
/* oklch */ color: oklch(54.1% 0.162 301.7);
Tailwind
colors: {
  custom: {
    50: '#a984d1',
    500: '#8152bc',
    950: '#000000',
  },
}
SCSS
$custom: #8152bc;
$custom-light: #a984d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8152bc",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 266.604,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.16215,
    "h": 301.7
  },
  "luminance": 0.14333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8152BC

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

Preview Lab → · Contrast checker → · Palette generator →

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