#8154CD#8154CD

#8154CD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.180 H 297.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8154CD
RGBrgb(129, 84, 205)
HSLhsl(262, 55%, 57%)
HSVhsv(262, 59%, 80%)
CMYKcmyk(37.1%, 59%, 0%, 19.6%)
CIE-LABlab(46.20, 44.57, -56.27)
CIE-LCHlch(46.20, 71.78, 308.38°)
OKLaboklab(55.51% 0.0827 -0.1599)
OKLCHoklch(55.51% 0.18 297.3)
XYZxyz(23.2402, 15.4152, 59.4968)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154CD #A0CD54
analogous
#5464CD #8154CD #BE54CD
triadic
#8154CD #CD8154 #54CD81
tetradic
#8154CD #CD5464 #A0CD54 #54CDBE
square
#8154CD #CD5464 #A0CD54 #54CDBE
split-complementary
#8154CD #CDBE54 #64CD54
monochromatic
#482681 #6234B0 #8154CD #A483DB #C7B3E9

Accessibility & contrast

On white

5.14
#8154CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8154CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154CD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154CD#FFFFFF#000000##FFFFFF
##8154CD1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ED1
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#6F6E88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8154cd;
/* rgb */ color: rgb(129, 84, 205);
/* oklch */ color: oklch(55.5% 0.180 297.3);
Tailwind
colors: {
  custom: {
    50: '#aa86dd',
    500: '#8154cd',
    950: '#000000',
  },
}
SCSS
$custom: #8154cd;
$custom-light: #aa86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8154cd",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 262.314,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55511,
    "c": 0.17996,
    "h": 297.3
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#8154CD
secondary
#C5D7A6
accent
#DE4AA7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8154CD

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

Preview Lab → · Contrast checker → · Palette generator →

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