#8154E3#8154E3

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

Color values

HEX#8154E3
RGBrgb(129, 84, 227)
HSLhsl(259, 72%, 61%)
HSVhsv(259, 63%, 89%)
CMYKcmyk(43.2%, 63%, 0%, 11%)
CIE-LABlab(47.69, 50.39, -66.41)
CIE-LCHlch(47.69, 83.36, 307.19°)
OKLaboklab(57.07% 0.0814 -0.1897)
OKLCHoklch(57.07% 0.206 293.2)
XYZxyz(26.0849, 16.5531, 74.4789)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154E3 #B6E354
analogous
#546EE3 #8154E3 #C854E3
triadic
#8154E3 #E38154 #54E381
tetradic
#8154E3 #E3546E #B6E354 #54E3C8
square
#8154E3 #E3546E #B6E354 #54E3C8
split-complementary
#8154E3 #E3C854 #6EE354
monochromatic
#451BA2 #5C23D7 #8154E3 #A889EC #CEBDF4

Accessibility & contrast

On white

4.87
#8154E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8154E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154E3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154E3#FFFFFF#000000##FFFFFF
##8154E31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#657594
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8154e3;
/* rgb */ color: rgb(129, 84, 227);
/* oklch */ color: oklch(57.1% 0.206 293.2);
Tailwind
colors: {
  custom: {
    50: '#ac86ed',
    500: '#8154e3',
    950: '#000000',
  },
}
SCSS
$custom: #8154e3;
$custom-light: #ac86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8154e3",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 258.881,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57073,
    "c": 0.20639,
    "h": 293.2
  },
  "luminance": 0.16554
}

Semantic roles & 50–950 ramp

primary
#8154E3
secondary
#D3E4AE
accent
#D41297
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8154E3

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

Preview Lab → · Contrast checker → · Palette generator →

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