#8A54D9#8A54D9

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

Color values

HEX#8A54D9
RGBrgb(138, 84, 217)
HSLhsl(264, 64%, 59%)
HSVhsv(264, 61%, 85%)
CMYKcmyk(36.4%, 61.3%, 0%, 14.9%)
CIE-LABlab(47.95, 49.66, -60.27)
CIE-LCHlch(47.95, 78.09, 309.49°)
OKLaboklab(57.26% 0.094 -0.1713)
OKLCHoklch(57.26% 0.195 298.8)
XYZxyz(26.1728, 16.7534, 67.4870)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54D9 #A3D954
analogous
#5461D9 #8A54D9 #CD54D9
triadic
#8A54D9 #D98A54 #54D98A
tetradic
#8A54D9 #D95461 #A3D954 #54D9CD
square
#8A54D9 #D95461 #A3D954 #54D9CD
split-complementary
#8A54D9 #D9CD54 #61D954
monochromatic
#4F2092 #6A2CC4 #8A54D9 #AC86E4 #CFB8EF

Accessibility & contrast

On white

4.83
#8A54D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8A54D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A54D9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54D9#FFFFFF#000000##FFFFFF
##8A54D91.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#1C71D6
Tritanopia (blue-blind)
#78718F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a54d9;
/* rgb */ color: rgb(138, 84, 217);
/* oklch */ color: oklch(57.3% 0.195 298.8);
Tailwind
colors: {
  custom: {
    50: '#b187e5',
    500: '#8a54d9',
    950: '#000000',
  },
}
SCSS
$custom: #8a54d9;
$custom-light: #b187e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54d9",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 264.361,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.19544,
    "h": 298.8
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#8A54D9
secondary
#C9DFAA
accent
#E741A3
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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