#8154B2#8154B2

#8154B2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.8% C 0.147 H 304.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8154B2
RGBrgb(129, 84, 178)
HSLhsl(269, 38%, 51%)
HSVhsv(269, 53%, 70%)
CMYKcmyk(27.5%, 52.8%, 0%, 30.2%)
CIE-LABlab(44.55, 37.68, -43.23)
CIE-LCHlch(44.55, 57.34, 311.07°)
OKLaboklab(53.77% 0.082 -0.1216)
OKLCHoklch(53.77% 0.147 304)
XYZxyz(20.2577, 14.2222, 43.7888)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154B2 #85B254
analogous
#5456B2 #8154B2 #B054B2
triadic
#8154B2 #B28154 #54B281
tetradic
#8154B2 #B25456 #85B254 #54B2B0
square
#8154B2 #B25456 #85B254 #54B2B0
split-complementary
#8154B2 #B2B054 #56B254
monochromatic
#452B60 #633E8A #8154B2 #A07EC5 #BFA8D8

Accessibility & contrast

On white

5.46
#8154B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8154B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154B2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154B2#FFFFFF#000000##FFFFFF
##8154B21.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#4369B0
Tritanopia (blue-blind)
#78657B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8154b2;
/* rgb */ color: rgb(129, 84, 178);
/* oklch */ color: oklch(53.8% 0.147 304.0);
Tailwind
colors: {
  custom: {
    50: '#a885c9',
    500: '#8154b2',
    950: '#000000',
  },
}
SCSS
$custom: #8154b2;
$custom-light: #a885c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8154b2",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 268.723,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.14668,
    "h": 304
  },
  "luminance": 0.14222
}

Semantic roles & 50–950 ramp

primary
#8154B2
secondary
#B2C69C
accent
#CE5A96
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8154B2

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

Preview Lab → · Contrast checker → · Palette generator →

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