#8A54D0#8A54D0

#8A54D0 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.6% C 0.185 H 300.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A54D0
RGBrgb(138, 84, 208)
HSLhsl(266, 57%, 57%)
HSVhsv(266, 60%, 82%)
CMYKcmyk(33.7%, 59.6%, 0%, 18.4%)
CIE-LABlab(47.36, 47.39, -56.07)
CIE-LCHlch(47.36, 73.41, 310.20°)
OKLaboklab(56.65% 0.0944 -0.159)
OKLCHoklch(56.65% 0.185 300.7)
XYZxyz(25.0340, 16.2978, 61.4892)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54D0 #9AD054
analogous
#545CD0 #8A54D0 #C854D0
triadic
#8A54D0 #D08A54 #54D08A
tetradic
#8A54D0 #D0545C #9AD054 #54D0C8
square
#8A54D0 #D0545C #9AD054 #54D0C8
split-complementary
#8A54D0 #D0C854 #5CD054
monochromatic
#4F2585 #6B32B5 #8A54D0 #AB84DD #CCB4EA

Accessibility & contrast

On white

4.93
#8A54D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8A54D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A54D0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54D0#FFFFFF#000000##FFFFFF
##8A54D01.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0970D4
Deuteranopia (green-blind)
#2D70CD
Tritanopia (blue-blind)
#7B6E8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a54d0;
/* rgb */ color: rgb(138, 84, 208);
/* oklch */ color: oklch(56.6% 0.185 300.7);
Tailwind
colors: {
  custom: {
    50: '#b086df',
    500: '#8a54d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a54d0;
$custom-light: #b086df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54d0",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 208
  },
  "hsl": {
    "h": 266.129,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56646,
    "c": 0.18489,
    "h": 300.7
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#8A54D0
secondary
#C3D9A7
accent
#E0489E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A54D0

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

Preview Lab → · Contrast checker → · Palette generator →

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