#8154D7#8154D7

#8154D7 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.192 H 295.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8154D7
RGBrgb(129, 84, 215)
HSLhsl(261, 62%, 59%)
HSVhsv(261, 61%, 84%)
CMYKcmyk(40%, 60.9%, 0%, 15.7%)
CIE-LABlab(46.86, 47.20, -60.93)
CIE-LCHlch(46.86, 77.07, 307.76°)
OKLaboklab(56.21% 0.0823 -0.1736)
OKLCHoklch(56.21% 0.192 295.4)
XYZxyz(24.4861, 15.9135, 66.0583)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154D7 #AAD754
analogous
#5468D7 #8154D7 #C254D7
triadic
#8154D7 #D78154 #54D781
tetradic
#8154D7 #D75468 #AAD754 #54D7C2
square
#8154D7 #D75468 #AAD754 #54D7C2
split-complementary
#8154D7 #D7C254 #68D754
monochromatic
#47218F #602DC1 #8154D7 #A686E3 #CAB7EE

Accessibility & contrast

On white

5.02
#8154D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8154D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154D7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154D7#FFFFFF#000000##FFFFFF
##8154D71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#076DD4
Tritanopia (blue-blind)
#6B718E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8154d7;
/* rgb */ color: rgb(129, 84, 215);
/* oklch */ color: oklch(56.2% 0.192 295.4);
Tailwind
colors: {
  custom: {
    50: '#ab86e4',
    500: '#8154d7',
    950: '#000000',
  },
}
SCSS
$custom: #8154d7;
$custom-light: #ab86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8154d7",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 260.611,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.19206,
    "h": 295.4
  },
  "luminance": 0.15914
}

Semantic roles & 50–950 ramp

primary
#8154D7
secondary
#CCDDA9
accent
#E543AD
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8154D7

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

Preview Lab → · Contrast checker → · Palette generator →

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