#8154D5#8154D5

#8154D5 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.1% C 0.190 H 295.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8154D5
RGBrgb(129, 84, 213)
HSLhsl(261, 61%, 58%)
HSVhsv(261, 61%, 84%)
CMYKcmyk(39.4%, 60.6%, 0%, 16.5%)
CIE-LABlab(46.73, 46.67, -60.01)
CIE-LCHlch(46.73, 76.02, 307.87°)
OKLaboklab(56.07% 0.0824 -0.1708)
OKLCHoklch(56.07% 0.19 295.7)
XYZxyz(24.2307, 15.8114, 64.7132)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154D5 #A8D554
analogous
#5467D5 #8154D5 #C154D5
triadic
#8154D5 #D58154 #54D581
tetradic
#8154D5 #D55467 #A8D554 #54D5C1
square
#8154D5 #D55467 #A8D554 #54D5C1
split-complementary
#8154D5 #D5C154 #67D554
monochromatic
#47228C #602EBD #8154D5 #A585E1 #C9B6ED

Accessibility & contrast

On white

5.05
#8154D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8154D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154D5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154D5#FFFFFF#000000##FFFFFF
##8154D51.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#106DD2
Tritanopia (blue-blind)
#6C708D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8154d5;
/* rgb */ color: rgb(129, 84, 213);
/* oklch */ color: oklch(56.1% 0.190 295.7);
Tailwind
colors: {
  custom: {
    50: '#ab86e3',
    500: '#8154d5',
    950: '#000000',
  },
}
SCSS
$custom: #8154d5;
$custom-light: #ab86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8154d5",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 260.93,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56065,
    "c": 0.18966,
    "h": 295.7
  },
  "luminance": 0.15812
}

Semantic roles & 50–950 ramp

primary
#8154D5
secondary
#CADCA9
accent
#E444AC
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8154D5

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

Preview Lab → · Contrast checker → · Palette generator →

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