#8154CE#8154CE

#8154CE is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.181 H 297.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8154CE
RGBrgb(129, 84, 206)
HSLhsl(262, 55%, 57%)
HSVhsv(262, 59%, 81%)
CMYKcmyk(37.4%, 59.2%, 0%, 19.2%)
CIE-LABlab(46.26, 44.83, -56.74)
CIE-LCHlch(46.26, 72.31, 308.31°)
OKLaboklab(55.58% 0.0826 -0.1612)
OKLCHoklch(55.58% 0.181 297.1)
XYZxyz(23.3613, 15.4636, 60.1345)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154CE #A1CE54
analogous
#5464CE #8154CE #BE54CE
triadic
#8154CE #CE8154 #54CE81
tetradic
#8154CE #CE5464 #A1CE54 #54CEBE
square
#8154CE #CE5464 #A1CE54 #54CEBE
split-complementary
#8154CE #CEBE54 #64CE54
monochromatic
#482582 #6233B2 #8154CE #A484DC #C7B3E9

Accessibility & contrast

On white

5.13
#8154CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8154CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154CE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154CE#FFFFFF#000000##FFFFFF
##8154CE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016ED2
Deuteranopia (green-blind)
#226CCB
Tritanopia (blue-blind)
#6F6E89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8154ce;
/* rgb */ color: rgb(129, 84, 206);
/* oklch */ color: oklch(55.6% 0.181 297.1);
Tailwind
colors: {
  custom: {
    50: '#aa86de',
    500: '#8154ce',
    950: '#000000',
  },
}
SCSS
$custom: #8154ce;
$custom-light: #aa86de;
$custom-dark: #000000;
JSON
{
  "hex": "#8154ce",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 262.131,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55579,
    "c": 0.18118,
    "h": 297.1
  },
  "luminance": 0.15464
}

Semantic roles & 50–950 ramp

primary
#8154CE
secondary
#C5D8A6
accent
#DF49A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8154CE

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

Preview Lab → · Contrast checker → · Palette generator →

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