#8A55C9#8A55C9

#8A55C9 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.3% C 0.175 H 302.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A55C9
RGBrgb(138, 85, 201)
HSLhsl(267, 52%, 56%)
HSVhsv(267, 58%, 79%)
CMYKcmyk(31.3%, 57.7%, 0%, 21.2%)
CIE-LABlab(47.13, 45.11, -52.42)
CIE-LCHlch(47.13, 69.16, 310.71°)
OKLaboklab(56.33% 0.0932 -0.1483)
OKLCHoklch(56.33% 0.175 302.2)
XYZxyz(24.2699, 16.1173, 57.0793)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55C9 #94C955
analogous
#555AC9 #8A55C9 #C455C9
triadic
#8A55C9 #C98A55 #55C98A
tetradic
#8A55C9 #C9555A #94C955 #55C9C4
square
#8A55C9 #C9555A #94C955 #55C9C4
split-complementary
#8A55C9 #C9C455 #5AC955
monochromatic
#4E277C #6B36AB #8A55C9 #AA83D8 #CAB2E7

Accessibility & contrast

On white

4.97
#8A55C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8A55C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55C9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55C9#FFFFFF#000000##FFFFFF
##8A55C91.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206FCD
Deuteranopia (green-blind)
#376FC6
Tritanopia (blue-blind)
#7E6C87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a55c9;
/* rgb */ color: rgb(138, 85, 201);
/* oklch */ color: oklch(56.3% 0.175 302.2);
Tailwind
colors: {
  custom: {
    50: '#b087da',
    500: '#8a55c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a55c9;
$custom-light: #b087da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55c9",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 201
  },
  "hsl": {
    "h": 267.414,
    "s": 51.786,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56334,
    "c": 0.17516,
    "h": 302.2
  },
  "luminance": 0.16117
}

Semantic roles & 50–950 ramp

primary
#8A55C9
secondary
#BFD5A5
accent
#DB4D9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A55C9

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

Preview Lab → · Contrast checker → · Palette generator →

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