#8A54C9#8A54C9

#8A54C9 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.2% C 0.177 H 302.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A54C9
RGBrgb(138, 84, 201)
HSLhsl(268, 52%, 56%)
HSVhsv(268, 58%, 79%)
CMYKcmyk(31.3%, 58.2%, 0%, 21.2%)
CIE-LABlab(46.92, 45.65, -52.75)
CIE-LCHlch(46.92, 69.76, 310.87°)
OKLaboklab(56.18% 0.0945 -0.1492)
OKLCHoklch(56.18% 0.177 302.3)
XYZxyz(24.1917, 15.9609, 57.0533)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54C9 #93C954
analogous
#5458C9 #8A54C9 #C454C9
triadic
#8A54C9 #C98A54 #54C98A
tetradic
#8A54C9 #C95458 #93C954 #54C9C4
square
#8A54C9 #C95458 #93C954 #54C9C4
split-complementary
#8A54C9 #C9C454 #58C954
monochromatic
#4E277C #6B36AA #8A54C9 #AA83D8 #CAB1E6

Accessibility & contrast

On white

5.01
#8A54C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8A54C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A54C9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54C9#FFFFFF#000000##FFFFFF
##8A54C91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECD
Deuteranopia (green-blind)
#366FC6
Tritanopia (blue-blind)
#7E6C86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a54c9;
/* rgb */ color: rgb(138, 84, 201);
/* oklch */ color: oklch(56.2% 0.177 302.3);
Tailwind
colors: {
  custom: {
    50: '#b086da',
    500: '#8a54c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a54c9;
$custom-light: #b086da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54c9",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 201
  },
  "hsl": {
    "h": 267.692,
    "s": 52,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.17664,
    "h": 302.3
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#8A54C9
secondary
#BED5A4
accent
#DB4C99
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A54C9

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

Preview Lab → · Contrast checker → · Palette generator →

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