#8154BB#8154BB

#8154BB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.3% C 0.158 H 301.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8154BB
RGBrgb(129, 84, 187)
HSLhsl(266, 43%, 53%)
HSVhsv(266, 55%, 73%)
CMYKcmyk(31%, 55.1%, 0%, 26.7%)
CIE-LABlab(45.08, 39.93, -47.65)
CIE-LCHlch(45.08, 62.17, 309.96°)
OKLaboklab(54.33% 0.0825 -0.1346)
OKLCHoklch(54.33% 0.158 301.5)
XYZxyz(21.1911, 14.5956, 48.7049)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154BB #8EBB54
analogous
#545ABB #8154BB #B554BB
triadic
#8154BB #BB8154 #54BB81
tetradic
#8154BB #BB545A #8EBB54 #54BBB5
square
#8154BB #BB545A #8EBB54 #54BBB5
split-complementary
#8154BB #BBB554 #5ABB54
monochromatic
#462A6A #633C96 #8154BB #A180CC #C2ACDE

Accessibility & contrast

On white

5.36
#8154BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8154BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154BB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154BB#FFFFFF#000000##FFFFFF
##8154BB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#3B6AB9
Tritanopia (blue-blind)
#76687F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8154bb;
/* rgb */ color: rgb(129, 84, 187);
/* oklch */ color: oklch(54.3% 0.158 301.5);
Tailwind
colors: {
  custom: {
    50: '#a986d0',
    500: '#8154bb',
    950: '#000000',
  },
}
SCSS
$custom: #8154bb;
$custom-light: #a986d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8154bb",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 266.214,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.15786,
    "h": 301.5
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#8154BB
secondary
#B8CC9F
accent
#D3559C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8154BB

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

Preview Lab → · Contrast checker → · Palette generator →

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