#8A55C7#8A55C7

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

Color values

HEX#8A55C7
RGBrgb(138, 85, 199)
HSLhsl(268, 50%, 56%)
HSVhsv(268, 57%, 78%)
CMYKcmyk(30.7%, 57.3%, 0%, 22%)
CIE-LABlab(47.01, 44.61, -51.47)
CIE-LCHlch(47.01, 68.11, 310.92°)
OKLaboklab(56.21% 0.0932 -0.1455)
OKLCHoklch(56.21% 0.173 302.7)
XYZxyz(24.0362, 16.0238, 55.8484)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55C7 #92C755
analogous
#5559C7 #8A55C7 #C355C7
triadic
#8A55C7 #C78A55 #55C78A
tetradic
#8A55C7 #C75559 #92C755 #55C7C3
square
#8A55C7 #C75559 #92C755 #55C7C3
split-complementary
#8A55C7 #C7C355 #59C755
monochromatic
#4E287A #6B37A8 #8A55C7 #AA83D6 #C9B1E5

Accessibility & contrast

On white

4.99
#8A55C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8A55C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55C7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55C7#FFFFFF#000000##FFFFFF
##8A55C71.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246ECB
Deuteranopia (green-blind)
#396FC4
Tritanopia (blue-blind)
#7E6C86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a55c7;
/* rgb */ color: rgb(138, 85, 199);
/* oklch */ color: oklch(56.2% 0.173 302.7);
Tailwind
colors: {
  custom: {
    50: '#b087d9',
    500: '#8a55c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a55c7;
$custom-light: #b087d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55c7",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 199
  },
  "hsl": {
    "h": 267.895,
    "s": 50.442,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.17278,
    "h": 302.7
  },
  "luminance": 0.16024
}

Semantic roles & 50–950 ramp

primary
#8A55C7
secondary
#BED4A4
accent
#DA4E99
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A55C7

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

Preview Lab → · Contrast checker → · Palette generator →

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