#8152BF#8152BF

#8152BF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.3% C 0.166 H 300.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8152BF
RGBrgb(129, 82, 191)
HSLhsl(266, 46%, 54%)
HSVhsv(266, 57%, 75%)
CMYKcmyk(32.5%, 57.1%, 0%, 25.1%)
CIE-LABlab(44.89, 42.06, -50.28)
CIE-LCHlch(44.89, 65.55, 309.92°)
OKLaboklab(54.27% 0.0852 -0.1423)
OKLCHoklch(54.27% 0.166 300.9)
XYZxyz(21.4723, 14.4632, 50.9405)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152BF #90BF52
analogous
#5259BF #8152BF #B852BF
triadic
#8152BF #BF8152 #52BF81
tetradic
#8152BF #BF5259 #90BF52 #52BFB8
square
#8152BF #BF5259 #90BF52 #52BFB8
split-complementary
#8152BF #BFB852 #59BF52
monochromatic
#47296E #63399B #8152BF #A27FD0 #C2ABE0

Accessibility & contrast

On white

5.39
#8152BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8152BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152BF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152BF#FFFFFF#000000##FFFFFF
##8152BF1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC3
Deuteranopia (green-blind)
#346ABC
Tritanopia (blue-blind)
#746881
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8152bf;
/* rgb */ color: rgb(129, 82, 191);
/* oklch */ color: oklch(54.3% 0.166 300.9);
Tailwind
colors: {
  custom: {
    50: '#a984d3',
    500: '#8152bf',
    950: '#000000',
  },
}
SCSS
$custom: #8152bf;
$custom-light: #a984d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8152bf",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 265.872,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54269,
    "c": 0.16582,
    "h": 300.9
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#8152BF
secondary
#BACE9F
accent
#D6529D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8152BF

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

Preview Lab → · Contrast checker → · Palette generator →

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