#8154E4#8154E4

#8154E4 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.1% C 0.208 H 293.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8154E4
RGBrgb(129, 84, 228)
HSLhsl(259, 73%, 61%)
HSVhsv(259, 63%, 89%)
CMYKcmyk(43.4%, 63.2%, 0%, 10.6%)
CIE-LABlab(47.76, 50.66, -66.86)
CIE-LCHlch(47.76, 83.88, 307.15°)
OKLaboklab(57.15% 0.0813 -0.191)
OKLCHoklch(57.15% 0.208 293.1)
XYZxyz(26.2234, 16.6084, 75.2078)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154E4 #B7E454
analogous
#546FE4 #8154E4 #C954E4
triadic
#8154E4 #E48154 #54E481
tetradic
#8154E4 #E4546F #B7E454 #54E4C9
square
#8154E4 #E4546F #B7E454 #54E4C9
split-complementary
#8154E4 #E4C954 #6FE454
monochromatic
#451AA4 #5B22D9 #8154E4 #A889EC #CFBEF5

Accessibility & contrast

On white

4.86
#8154E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8154E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154E4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154E4#FFFFFF#000000##FFFFFF
##8154E41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#657694
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8154e4;
/* rgb */ color: rgb(129, 84, 228);
/* oklch */ color: oklch(57.1% 0.208 293.1);
Tailwind
colors: {
  custom: {
    50: '#ac86ed',
    500: '#8154e4',
    950: '#000000',
  },
}
SCSS
$custom: #8154e4;
$custom-light: #ac86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8154e4",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 258.75,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57147,
    "c": 0.20758,
    "h": 293.1
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#8154E4
secondary
#D4E5AF
accent
#D51198
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8154E4

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

Preview Lab → · Contrast checker → · Palette generator →

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