#8154E6#8154E6

#8154E6 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.210 H 292.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8154E6
RGBrgb(129, 84, 230)
HSLhsl(258, 74%, 62%)
HSVhsv(258, 63%, 90%)
CMYKcmyk(43.9%, 63.5%, 0%, 9.8%)
CIE-LABlab(47.91, 51.20, -67.76)
CIE-LCHlch(47.91, 84.92, 307.08°)
OKLaboklab(57.29% 0.0811 -0.1936)
OKLCHoklch(57.29% 0.21 292.7)
XYZxyz(26.5026, 16.7201, 76.6785)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154E6 #B9E654
analogous
#5470E6 #8154E6 #CA54E6
triadic
#8154E6 #E68154 #54E681
tetradic
#8154E6 #E65470 #B9E654 #54E6CA
square
#8154E6 #E65470 #B9E654 #54E6CA
split-complementary
#8154E6 #E6CA54 #70E654
monochromatic
#4418A7 #5A20DD #8154E6 #A889EE #D0BFF6

Accessibility & contrast

On white

4.83
#8154E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8154E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154E6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154E6#FFFFFF#000000##FFFFFF
##8154E61.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#647696
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8154e6;
/* rgb */ color: rgb(129, 84, 230);
/* oklch */ color: oklch(57.3% 0.210 292.7);
Tailwind
colors: {
  custom: {
    50: '#ad86ef',
    500: '#8154e6',
    950: '#000000',
  },
}
SCSS
$custom: #8154e6;
$custom-light: #ad86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8154e6",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 258.493,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57295,
    "c": 0.20994,
    "h": 292.7
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

primary
#8154E6
secondary
#D5E6B0
accent
#D70F99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8154E6

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

Preview Lab → · Contrast checker → · Palette generator →

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