#8152BA#8152BA

#8152BA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.9% C 0.160 H 302.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8152BA
RGBrgb(129, 82, 186)
HSLhsl(267, 43%, 53%)
HSVhsv(267, 56%, 73%)
CMYKcmyk(30.6%, 55.9%, 0%, 27.1%)
CIE-LABlab(44.59, 40.80, -47.86)
CIE-LCHlch(44.59, 62.89, 310.45°)
OKLaboklab(53.95% 0.0851 -0.1351)
OKLCHoklch(53.95% 0.16 302.2)
XYZxyz(20.9314, 14.2469, 48.0920)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152BA #8BBA52
analogous
#5257BA #8152BA #B552BA
triadic
#8152BA #BA8152 #52BA81
tetradic
#8152BA #BA5257 #8BBA52 #52BAB5
square
#8152BA #BA5257 #8BBA52 #52BAB5
split-complementary
#8152BA #BAB552 #57BA52
monochromatic
#462A68 #633B94 #8152BA #A17ECB #C1AADD

Accessibility & contrast

On white

5.46
#8152BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8152BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152BA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152BA#FFFFFF#000000##FFFFFF
##8152BA1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BD
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#76667E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8152ba;
/* rgb */ color: rgb(129, 82, 186);
/* oklch */ color: oklch(53.9% 0.160 302.2);
Tailwind
colors: {
  custom: {
    50: '#a984cf',
    500: '#8152ba',
    950: '#000000',
  },
}
SCSS
$custom: #8152ba;
$custom-light: #a984cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8152ba",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 267.115,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.15971,
    "h": 302.2
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#8152BA
secondary
#B6CA9D
accent
#D3559A
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8152BA

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

Preview Lab → · Contrast checker → · Palette generator →

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