#8254D8#8254D8

#8254D8 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.193 H 295.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8254D8
RGBrgb(130, 84, 216)
HSLhsl(261, 63%, 59%)
HSVhsv(261, 61%, 85%)
CMYKcmyk(39.8%, 61.1%, 0%, 15.3%)
CIE-LABlab(47.03, 47.67, -61.22)
CIE-LCHlch(47.03, 77.59, 307.91°)
OKLaboklab(56.38% 0.0835 -0.1744)
OKLCHoklch(56.38% 0.193 295.6)
XYZxyz(24.7677, 16.0438, 66.7443)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254D8 #AAD854
analogous
#5468D8 #8254D8 #C454D8
triadic
#8254D8 #D88254 #54D882
tetradic
#8254D8 #D85468 #AAD854 #54D8C4
square
#8254D8 #D85468 #AAD854 #54D8C4
split-complementary
#8254D8 #D8C454 #68D854
monochromatic
#482191 #612CC2 #8254D8 #A686E3 #CBB8EF

Accessibility & contrast

On white

4.99
#8254D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8254D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254D8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254D8#FFFFFF#000000##FFFFFF
##8254D81.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#066ED5
Tritanopia (blue-blind)
#6C718E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8254d8;
/* rgb */ color: rgb(130, 84, 216);
/* oklch */ color: oklch(56.4% 0.193 295.6);
Tailwind
colors: {
  custom: {
    50: '#ac86e5',
    500: '#8254d8',
    950: '#000000',
  },
}
SCSS
$custom: #8254d8;
$custom-light: #ac86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8254d8",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 260.909,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.19335,
    "h": 295.6
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#8254D8
secondary
#CCDEAA
accent
#E642AD
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8254D8

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

Preview Lab → · Contrast checker → · Palette generator →

#8254D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva