#8A54DA#8A54DA

#8A54DA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.3% C 0.197 H 298.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A54DA
RGBrgb(138, 84, 218)
HSLhsl(264, 64%, 59%)
HSVhsv(264, 61%, 85%)
CMYKcmyk(36.7%, 61.5%, 0%, 14.5%)
CIE-LABlab(48.01, 49.91, -60.73)
CIE-LCHlch(48.01, 78.61, 309.41°)
OKLaboklab(57.33% 0.094 -0.1727)
OKLCHoklch(57.33% 0.197 298.6)
XYZxyz(26.3033, 16.8056, 68.1741)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54DA #A4DA54
analogous
#5461DA #8A54DA #CD54DA
triadic
#8A54DA #DA8A54 #54DA8A
tetradic
#8A54DA #DA5461 #A4DA54 #54DACD
square
#8A54DA #DA5461 #A4DA54 #54DACD
split-complementary
#8A54DA #DACD54 #61DA54
monochromatic
#4F2094 #692BC6 #8A54DA #AC86E5 #CFB9F0

Accessibility & contrast

On white

4.82
#8A54DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8A54DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A54DA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54DA#FFFFFF#000000##FFFFFF
##8A54DA1.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)
#0072DE
Deuteranopia (green-blind)
#1971D7
Tritanopia (blue-blind)
#78718F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a54da;
/* rgb */ color: rgb(138, 84, 218);
/* oklch */ color: oklch(57.3% 0.197 298.6);
Tailwind
colors: {
  custom: {
    50: '#b187e6',
    500: '#8a54da',
    950: '#000000',
  },
}
SCSS
$custom: #8a54da;
$custom-light: #b187e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54da",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 264.179,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57328,
    "c": 0.1966,
    "h": 298.6
  },
  "luminance": 0.16806
}

Semantic roles & 50–950 ramp

primary
#8A54DA
secondary
#CADFAB
accent
#E740A4
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A54DA

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

Preview Lab → · Contrast checker → · Palette generator →

#8A54DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva