#8A54CE#8A54CE

#8A54CE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.183 H 301.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A54CE
RGBrgb(138, 84, 206)
HSLhsl(267, 55%, 57%)
HSVhsv(267, 59%, 81%)
CMYKcmyk(33%, 59.2%, 0%, 19.2%)
CIE-LABlab(47.24, 46.89, -55.12)
CIE-LCHlch(47.24, 72.37, 310.38°)
OKLaboklab(56.51% 0.0944 -0.1562)
OKLCHoklch(56.51% 0.183 301.2)
XYZxyz(24.7895, 16.2000, 60.2015)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54CE #98CE54
analogous
#545BCE #8A54CE #C754CE
triadic
#8A54CE #CE8A54 #54CE8A
tetradic
#8A54CE #CE545B #98CE54 #54CEC7
square
#8A54CE #CE545B #98CE54 #54CEC7
split-complementary
#8A54CE #CEC754 #5BCE54
monochromatic
#4E2582 #6B33B2 #8A54CE #AB84DC #CBB3E9

Accessibility & contrast

On white

4.95
#8A54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8A54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A54CE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54CE#FFFFFF#000000##FFFFFF
##8A54CE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD2
Deuteranopia (green-blind)
#2F6FCB
Tritanopia (blue-blind)
#7C6D89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a54ce;
/* rgb */ color: rgb(138, 84, 206);
/* oklch */ color: oklch(56.5% 0.183 301.2);
Tailwind
colors: {
  custom: {
    50: '#b086de',
    500: '#8a54ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a54ce;
$custom-light: #b086de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54ce",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 266.557,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.18253,
    "h": 301.2
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#8A54CE
secondary
#C2D8A6
accent
#DF499C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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