#8154E7#8154E7

#8154E7 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.211 H 292.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8154E7
RGBrgb(129, 84, 231)
HSLhsl(258, 75%, 62%)
HSVhsv(258, 64%, 91%)
CMYKcmyk(44.2%, 63.6%, 0%, 9.4%)
CIE-LABlab(47.98, 51.47, -68.20)
CIE-LCHlch(47.98, 85.44, 307.04°)
OKLaboklab(57.37% 0.081 -0.195)
OKLCHoklch(57.37% 0.211 292.6)
XYZxyz(26.6434, 16.7765, 77.4202)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154E7 #BAE754
analogous
#5471E7 #8154E7 #CA54E7
triadic
#8154E7 #E78154 #54E781
tetradic
#8154E7 #E75471 #BAE754 #54E7CA
square
#8154E7 #E75471 #BAE754 #54E7CA
split-complementary
#8154E7 #E7CA54 #71E754
monochromatic
#4418A9 #5A1FDF #8154E7 #A98AEF #D0BFF6

Accessibility & contrast

On white

4.82
#8154E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8154E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154E7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154E7#FFFFFF#000000##FFFFFF
##8154E71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#637796
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8154e7;
/* rgb */ color: rgb(129, 84, 231);
/* oklch */ color: oklch(57.4% 0.211 292.6);
Tailwind
colors: {
  custom: {
    50: '#ad86f0',
    500: '#8154e7',
    950: '#000000',
  },
}
SCSS
$custom: #8154e7;
$custom-light: #ad86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8154e7",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 258.367,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.21112,
    "h": 292.6
  },
  "luminance": 0.16777
}

Semantic roles & 50–950 ramp

primary
#8154E7
secondary
#D6E7B0
accent
#D80E9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8154E7

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

Preview Lab → · Contrast checker → · Palette generator →

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