#8154DC#8154DC

#8154DC is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.198 H 294.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8154DC
RGBrgb(129, 84, 220)
HSLhsl(260, 66%, 60%)
HSVhsv(260, 62%, 86%)
CMYKcmyk(41.4%, 61.8%, 0%, 13.7%)
CIE-LABlab(47.20, 48.52, -63.23)
CIE-LCHlch(47.20, 79.70, 307.50°)
OKLaboklab(56.56% 0.082 -0.1803)
OKLCHoklch(56.56% 0.198 294.4)
XYZxyz(25.1384, 16.1745, 69.4938)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8154DC #AFDC54
analogous
#546BDC #8154DC #C554DC
triadic
#8154DC #DC8154 #54DC81
tetradic
#8154DC #DC546B #AFDC54 #54DCC5
square
#8154DC #DC546B #AFDC54 #54DCC5
split-complementary
#8154DC #DCC554 #6BDC54
monochromatic
#471F97 #5E29CA #8154DC #A687E6 #CCBAF1

Accessibility & contrast

On white

4.96
#8154DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8154DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8154DC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8154DC#FFFFFF#000000##FFFFFF
##8154DC1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#697390
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8154dc;
/* rgb */ color: rgb(129, 84, 220);
/* oklch */ color: oklch(56.6% 0.198 294.4);
Tailwind
colors: {
  custom: {
    50: '#ac86e8',
    500: '#8154dc',
    950: '#000000',
  },
}
SCSS
$custom: #8154dc;
$custom-light: #ac86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8154dc",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 259.853,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56563,
    "c": 0.19806,
    "h": 294.4
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#8154DC
secondary
#CFE0AC
accent
#E93FB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8154DC

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

Preview Lab → · Contrast checker → · Palette generator →

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