#8154C8#8154C8

#8154C8 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.2% C 0.174 H 298.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8154C8
RGBrgb(129, 84, 200)
HSLhsl(263, 51%, 56%)
HSVhsv(263, 58%, 78%)
CMYKcmyk(35.5%, 58%, 0%, 21.6%)
CIE-LABlab(45.88, 43.26, -53.91)
CIE-LCHlch(45.88, 69.12, 308.75°)
OKLaboklab(55.17% 0.0827 -0.1529)
OKLCHoklch(55.17% 0.174 298.4)
XYZxyz(22.6463, 15.1776, 56.3688)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154C8 #9BC854
analogous
#5461C8 #8154C8 #BB54C8
triadic
#8154C8 #C88154 #54C881
tetradic
#8154C8 #C85461 #9BC854 #54C8BB
square
#8154C8 #C85461 #9BC854 #54C8BB
split-complementary
#8154C8 #C8BB54 #61C854
monochromatic
#48277A #6336A9 #8154C8 #A382D7 #C5B1E6

Accessibility & contrast

On white

5.20
#8154C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8154C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154C8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154C8#FFFFFF#000000##FFFFFF
##8154C81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176DCC
Deuteranopia (green-blind)
#2C6CC5
Tritanopia (blue-blind)
#716C86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8154c8;
/* rgb */ color: rgb(129, 84, 200);
/* oklch */ color: oklch(55.2% 0.174 298.4);
Tailwind
colors: {
  custom: {
    50: '#aa86d9',
    500: '#8154c8',
    950: '#000000',
  },
}
SCSS
$custom: #8154c8;
$custom-light: #aa86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8154c8",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 263.276,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55173,
    "c": 0.17386,
    "h": 298.4
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#8154C8
secondary
#C1D4A4
accent
#DB4DA4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8154C8

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

Preview Lab → · Contrast checker → · Palette generator →

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