#8154CB#8154CB

#8154CB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.178 H 297.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8154CB
RGBrgb(129, 84, 203)
HSLhsl(263, 53%, 56%)
HSVhsv(263, 59%, 80%)
CMYKcmyk(36.5%, 58.6%, 0%, 20.4%)
CIE-LABlab(46.07, 44.04, -55.33)
CIE-LCHlch(46.07, 70.72, 308.52°)
OKLaboklab(55.38% 0.0827 -0.1571)
OKLCHoklch(55.38% 0.178 297.8)
XYZxyz(23.0004, 15.3193, 58.2335)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154CB #9ECB54
analogous
#5463CB #8154CB #BD54CB
triadic
#8154CB #CB8154 #54CB81
tetradic
#8154CB #CB5463 #9ECB54 #54CBBD
square
#8154CB #CB5463 #9ECB54 #54CBBD
split-complementary
#8154CB #CBBD54 #63CB54
monochromatic
#48267E #6235AD #8154CB #A483D9 #C6B2E8

Accessibility & contrast

On white

5.17
#8154CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8154CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154CB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154CB#FFFFFF#000000##FFFFFF
##8154CB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6DCF
Deuteranopia (green-blind)
#286CC8
Tritanopia (blue-blind)
#706D87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8154cb;
/* rgb */ color: rgb(129, 84, 203);
/* oklch */ color: oklch(55.4% 0.178 297.8);
Tailwind
colors: {
  custom: {
    50: '#aa86db',
    500: '#8154cb',
    950: '#000000',
  },
}
SCSS
$custom: #8154cb;
$custom-light: #aa86db;
$custom-dark: #000000;
JSON
{
  "hex": "#8154cb",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 262.689,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55375,
    "c": 0.17752,
    "h": 297.8
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#8154CB
secondary
#C3D6A5
accent
#DD4BA6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8154CB

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

Preview Lab → · Contrast checker → · Palette generator →

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