#8154BD#8154BD

#8154BD is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.5% C 0.160 H 301.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8154BD
RGBrgb(129, 84, 189)
HSLhsl(266, 44%, 54%)
HSVhsv(266, 56%, 74%)
CMYKcmyk(31.7%, 55.6%, 0%, 25.9%)
CIE-LABlab(45.20, 40.44, -48.63)
CIE-LCHlch(45.20, 63.24, 309.75°)
OKLaboklab(54.45% 0.0826 -0.1374)
OKLCHoklch(54.45% 0.16 301)
XYZxyz(21.4067, 14.6818, 49.8403)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154BD #90BD54
analogous
#545BBD #8154BD #B554BD
triadic
#8154BD #BD8154 #54BD81
tetradic
#8154BD #BD545B #90BD54 #54BDB5
square
#8154BD #BD545B #90BD54 #54BDB5
split-complementary
#8154BD #BDB554 #5BBD54
monochromatic
#472A6D #633B99 #8154BD #A280CE #C2ACDF

Accessibility & contrast

On white

5.33
#8154BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8154BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154BD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154BD#FFFFFF#000000##FFFFFF
##8154BD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC1
Deuteranopia (green-blind)
#396ABB
Tritanopia (blue-blind)
#756980
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8154bd;
/* rgb */ color: rgb(129, 84, 189);
/* oklch */ color: oklch(54.5% 0.160 301.0);
Tailwind
colors: {
  custom: {
    50: '#a986d1',
    500: '#8154bd',
    950: '#000000',
  },
}
SCSS
$custom: #8154bd;
$custom-light: #a986d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8154bd",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 265.714,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.16033,
    "h": 301
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#8154BD
secondary
#BACDA0
accent
#D4549D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8154BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8154BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva