#8A55B3#8A55B3

#8A55B3 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.0% C 0.149 H 308.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A55B3
RGBrgb(138, 85, 179)
HSLhsl(274, 38%, 52%)
HSVhsv(274, 53%, 70%)
CMYKcmyk(22.9%, 52.5%, 0%, 29.8%)
CIE-LABlab(45.85, 39.79, -41.69)
CIE-LCHlch(45.85, 57.63, 313.66°)
OKLaboklab(54.98% 0.0923 -0.1169)
OKLCHoklch(54.98% 0.149 308.3)
XYZxyz(21.8648, 15.1552, 44.4125)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55B3 #7EB355
analogous
#5B55B3 #8A55B3 #B355AD
triadic
#8A55B3 #B38A55 #55B38A
tetradic
#8A55B3 #B35B55 #7EB355 #55ADB3
square
#8A55B3 #B35B55 #7EB355 #55ADB3
split-complementary
#8A55B3 #ADB355 #55B35B
monochromatic
#4A2C62 #6A3F8C #8A55B3 #A77FC6 #C4AAD9

Accessibility & contrast

On white

5.21
#8A55B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8A55B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55B3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55B3#FFFFFF#000000##FFFFFF
##8A55B31.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB6
Deuteranopia (green-blind)
#4A6DB1
Tritanopia (blue-blind)
#84657C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a55b3;
/* rgb */ color: rgb(138, 85, 179);
/* oklch */ color: oklch(55.0% 0.149 308.3);
Tailwind
colors: {
  custom: {
    50: '#ae87ca',
    500: '#8a55b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a55b3;
$custom-light: #ae87ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55b3",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 273.83,
    "s": 38.211,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.14892,
    "h": 308.3
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

primary
#8A55B3
secondary
#AFC79D
accent
#CE5A8C
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A55B3

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

Preview Lab → · Contrast checker → · Palette generator →

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