#8154EA#8154EA

#8154EA is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.215 H 292.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8154EA
RGBrgb(129, 84, 234)
HSLhsl(258, 78%, 62%)
HSVhsv(258, 64%, 92%)
CMYKcmyk(44.9%, 64.1%, 0%, 8.2%)
CIE-LABlab(48.19, 52.27, -69.54)
CIE-LCHlch(48.19, 87.00, 306.93°)
OKLaboklab(57.59% 0.0807 -0.1989)
OKLCHoklch(57.59% 0.215 292.1)
XYZxyz(27.0708, 16.9474, 79.6708)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154EA #BDEA54
analogous
#5472EA #8154EA #CC54EA
triadic
#8154EA #EA8154 #54EA81
tetradic
#8154EA #EA5472 #BDEA54 #54EACC
square
#8154EA #EA5472 #BDEA54 #54EACC
split-complementary
#8154EA #EACC54 #72EA54
monochromatic
#4315AE #591DE3 #8154EA #A98BF1 #D1C1F7

Accessibility & contrast

On white

4.78
#8154EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8154EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154EA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154EA#FFFFFF#000000##FFFFFF
##8154EA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#627898
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8154ea;
/* rgb */ color: rgb(129, 84, 234);
/* oklch */ color: oklch(57.6% 0.215 292.1);
Tailwind
colors: {
  custom: {
    50: '#ad87f2',
    500: '#8154ea',
    950: '#000000',
  },
}
SCSS
$custom: #8154ea;
$custom-light: #ad87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8154ea",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 258,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57594,
    "c": 0.21465,
    "h": 292.1
  },
  "luminance": 0.16948
}

Semantic roles & 50–950 ramp

primary
#8154EA
secondary
#D8E8B2
accent
#DA0B9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8154EA

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

Preview Lab → · Contrast checker → · Palette generator →

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