#8154CA#8154CA

#8154CA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.176 H 298.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8154CA
RGBrgb(129, 84, 202)
HSLhsl(263, 53%, 56%)
HSVhsv(263, 58%, 79%)
CMYKcmyk(36.1%, 58.4%, 0%, 20.8%)
CIE-LABlab(46.00, 43.78, -54.86)
CIE-LCHlch(46.00, 70.19, 308.59°)
OKLaboklab(55.31% 0.0827 -0.1557)
OKLCHoklch(55.31% 0.176 298)
XYZxyz(22.8816, 15.2717, 57.6079)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154CA #9DCA54
analogous
#5462CA #8154CA #BC54CA
triadic
#8154CA #CA8154 #54CA81
tetradic
#8154CA #CA5462 #9DCA54 #54CABC
square
#8154CA #CA5462 #9DCA54 #54CABC
split-complementary
#8154CA #CABC54 #62CA54
monochromatic
#48277D #6235AC #8154CA #A383D8 #C6B1E7

Accessibility & contrast

On white

5.18
#8154CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8154CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154CA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154CA#FFFFFF#000000##FFFFFF
##8154CA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116DCE
Deuteranopia (green-blind)
#296CC7
Tritanopia (blue-blind)
#706D87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8154ca;
/* rgb */ color: rgb(129, 84, 202);
/* oklch */ color: oklch(55.3% 0.176 298.0);
Tailwind
colors: {
  custom: {
    50: '#aa86db',
    500: '#8154ca',
    950: '#000000',
  },
}
SCSS
$custom: #8154ca;
$custom-light: #aa86db;
$custom-dark: #000000;
JSON
{
  "hex": "#8154ca",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 262.881,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55308,
    "c": 0.1763,
    "h": 298
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#8154CA
secondary
#C3D5A5
accent
#DC4CA5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8154CA

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

Preview Lab → · Contrast checker → · Palette generator →

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