#8154BF#8154BF

#8154BF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.6% C 0.163 H 300.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8154BF
RGBrgb(129, 84, 191)
HSLhsl(265, 46%, 54%)
HSVhsv(265, 56%, 75%)
CMYKcmyk(32.5%, 56%, 0%, 25.1%)
CIE-LABlab(45.32, 40.95, -49.60)
CIE-LCHlch(45.32, 64.31, 309.54°)
OKLaboklab(54.58% 0.0827 -0.1403)
OKLCHoklch(54.58% 0.163 300.5)
XYZxyz(21.6253, 14.7692, 50.9916)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154BF #92BF54
analogous
#545DBF #8154BF #B754BF
triadic
#8154BF #BF8154 #54BF81
tetradic
#8154BF #BF545D #92BF54 #54BFB7
square
#8154BF #BF545D #92BF54 #54BFB7
split-complementary
#8154BF #BFB754 #5DBF54
monochromatic
#472A6F #633A9C #8154BF #A281D0 #C3ADE0

Accessibility & contrast

On white

5.31
#8154BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8154BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154BF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154BF#FFFFFF#000000##FFFFFF
##8154BF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#376BBD
Tritanopia (blue-blind)
#746981
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8154bf;
/* rgb */ color: rgb(129, 84, 191);
/* oklch */ color: oklch(54.6% 0.163 300.5);
Tailwind
colors: {
  custom: {
    50: '#a986d3',
    500: '#8154bf',
    950: '#000000',
  },
}
SCSS
$custom: #8154bf;
$custom-light: #a986d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8154bf",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 265.234,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.1628,
    "h": 300.5
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

primary
#8154BF
secondary
#BBCEA1
accent
#D5539E
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8154BF

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

Preview Lab → · Contrast checker → · Palette generator →

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