#8154D8#8154D8

#8154D8 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.3% C 0.193 H 295.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8154D8
RGBrgb(129, 84, 216)
HSLhsl(260, 63%, 59%)
HSVhsv(260, 61%, 85%)
CMYKcmyk(40.3%, 61.1%, 0%, 15.3%)
CIE-LABlab(46.93, 47.46, -61.39)
CIE-LCHlch(46.93, 77.60, 307.71°)
OKLaboklab(56.28% 0.0822 -0.1749)
OKLCHoklch(56.28% 0.193 295.2)
XYZxyz(24.6150, 15.9651, 66.7371)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154D8 #ABD854
analogous
#5469D8 #8154D8 #C354D8
triadic
#8154D8 #D88154 #54D881
tetradic
#8154D8 #D85469 #ABD854 #54D8C3
square
#8154D8 #D85469 #ABD854 #54D8C3
split-complementary
#8154D8 #D8C354 #69D854
monochromatic
#472191 #602CC2 #8154D8 #A686E3 #CAB8EF

Accessibility & contrast

On white

5.01
#8154D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8154D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154D8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154D8#FFFFFF#000000##FFFFFF
##8154D81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#016DD5
Tritanopia (blue-blind)
#6B718E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8154d8;
/* rgb */ color: rgb(129, 84, 216);
/* oklch */ color: oklch(56.3% 0.193 295.2);
Tailwind
colors: {
  custom: {
    50: '#ab86e5',
    500: '#8154d8',
    950: '#000000',
  },
}
SCSS
$custom: #8154d8;
$custom-light: #ab86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8154d8",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 260.455,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.19327,
    "h": 295.2
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#8154D8
secondary
#CCDEAA
accent
#E642AE
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8154D8

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

Preview Lab → · Contrast checker → · Palette generator →

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