#8154D6#8154D6

#8154D6 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.191 H 295.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8154D6
RGBrgb(129, 84, 214)
HSLhsl(261, 61%, 58%)
HSVhsv(261, 61%, 84%)
CMYKcmyk(39.7%, 60.7%, 0%, 16.1%)
CIE-LABlab(46.79, 46.93, -60.47)
CIE-LCHlch(46.79, 76.54, 307.82°)
OKLaboklab(56.14% 0.0823 -0.1722)
OKLCHoklch(56.14% 0.191 295.5)
XYZxyz(24.3580, 15.8623, 65.3837)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154D6 #A9D654
analogous
#5468D6 #8154D6 #C254D6
triadic
#8154D6 #D68154 #54D681
tetradic
#8154D6 #D65468 #A9D654 #54D6C2
square
#8154D6 #D65468 #A9D654 #54D6C2
split-complementary
#8154D6 #D6C254 #68D654
monochromatic
#47228E #602EBF #8154D6 #A585E2 #CAB7EE

Accessibility & contrast

On white

5.03
#8154D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8154D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154D6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154D6#FFFFFF#000000##FFFFFF
##8154D61.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#0C6DD3
Tritanopia (blue-blind)
#6C718D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8154d6;
/* rgb */ color: rgb(129, 84, 214);
/* oklch */ color: oklch(56.1% 0.191 295.5);
Tailwind
colors: {
  custom: {
    50: '#ab86e3',
    500: '#8154d6',
    950: '#000000',
  },
}
SCSS
$custom: #8154d6;
$custom-light: #ab86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8154d6",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 260.769,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.19086,
    "h": 295.5
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#8154D6
secondary
#CBDDA9
accent
#E443AD
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8154D6

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

Preview Lab → · Contrast checker → · Palette generator →

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