#8154EE#8154EE

#8154EE is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.219 H 291.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8154EE
RGBrgb(129, 84, 238)
HSLhsl(258, 82%, 63%)
HSVhsv(258, 65%, 93%)
CMYKcmyk(45.8%, 64.7%, 0%, 6.7%)
CIE-LABlab(48.49, 53.35, -71.32)
CIE-LCHlch(48.49, 89.07, 306.80°)
OKLaboklab(57.9% 0.0803 -0.2041)
OKLCHoklch(57.9% 0.219 291.5)
XYZxyz(27.6519, 17.1799, 82.7314)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154EE #C1EE54
analogous
#5474EE #8154EE #CE54EE
triadic
#8154EE #EE8154 #54EE81
tetradic
#8154EE #EE5474 #C1EE54 #54EECE
square
#8154EE #EE5474 #C1EE54 #54EECE
split-complementary
#8154EE #EECE54 #74EE54
monochromatic
#4212B6 #581CE8 #8154EE #AA8CF4 #D3C3F9

Accessibility & contrast

On white

4.73
#8154EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8154EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154EE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154EE#FFFFFF#000000##FFFFFF
##8154EE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#60799A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8154ee;
/* rgb */ color: rgb(129, 84, 238);
/* oklch */ color: oklch(57.9% 0.219 291.5);
Tailwind
colors: {
  custom: {
    50: '#ad87f5',
    500: '#8154ee',
    950: '#000000',
  },
}
SCSS
$custom: #8154ee;
$custom-light: #ad87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8154ee",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 257.532,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.21933,
    "h": 291.5
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#8154EE
secondary
#DAEAB3
accent
#DE079F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8154EE

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

Preview Lab → · Contrast checker → · Palette generator →

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