#8154BC#8154BC

#8154BC is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.4% C 0.159 H 301.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8154BC
RGBrgb(129, 84, 188)
HSLhsl(266, 44%, 53%)
HSVhsv(266, 55%, 74%)
CMYKcmyk(31.4%, 55.3%, 0%, 26.3%)
CIE-LABlab(45.13, 40.18, -48.14)
CIE-LCHlch(45.13, 62.71, 309.85°)
OKLaboklab(54.39% 0.0826 -0.136)
OKLCHoklch(54.39% 0.159 301.3)
XYZxyz(21.2986, 14.6385, 49.2706)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154BC #8FBC54
analogous
#545BBC #8154BC #B554BC
triadic
#8154BC #BC8154 #54BC81
tetradic
#8154BC #BC545B #8FBC54 #54BCB5
square
#8154BC #BC545B #8FBC54 #54BCB5
split-complementary
#8154BC #BCB554 #5BBC54
monochromatic
#462A6B #633B97 #8154BC #A180CD #C2ACDE

Accessibility & contrast

On white

5.35
#8154BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8154BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154BC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154BC#FFFFFF#000000##FFFFFF
##8154BC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#3A6ABA
Tritanopia (blue-blind)
#756880
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8154bc;
/* rgb */ color: rgb(129, 84, 188);
/* oklch */ color: oklch(54.4% 0.159 301.3);
Tailwind
colors: {
  custom: {
    50: '#a986d1',
    500: '#8154bc',
    950: '#000000',
  },
}
SCSS
$custom: #8154bc;
$custom-light: #a986d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8154bc",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 265.962,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5439,
    "c": 0.15909,
    "h": 301.3
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#8154BC
secondary
#B9CCA0
accent
#D3549C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8154BC

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

Preview Lab → · Contrast checker → · Palette generator →

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