#8A55AF#8A55AF

#8A55AF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.7% C 0.144 H 309.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A55AF
RGBrgb(138, 85, 175)
HSLhsl(275, 36%, 51%)
HSVhsv(275, 51%, 69%)
CMYKcmyk(21.1%, 51.4%, 0%, 31.4%)
CIE-LABlab(45.63, 38.85, -39.69)
CIE-LCHlch(45.63, 55.54, 314.39°)
OKLaboklab(54.75% 0.0919 -0.111)
OKLCHoklch(54.75% 0.144 309.6)
XYZxyz(21.4661, 14.9958, 42.3128)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55AF #7AAF55
analogous
#5D55AF #8A55AF #AF55A7
triadic
#8A55AF #AF8A55 #55AF8A
tetradic
#8A55AF #AF5D55 #7AAF55 #55A7AF
square
#8A55AF #AF5D55 #7AAF55 #55A7AF
split-complementary
#8A55AF #A7AF55 #55AF5D
monochromatic
#492C5E #6A4087 #8A55AF #A77FC3 #C3A8D6

Accessibility & contrast

On white

5.25
#8A55AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8A55AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55AF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55AF#FFFFFF#000000##FFFFFF
##8A55AF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#4D6DAD
Tritanopia (blue-blind)
#85647A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a55af;
/* rgb */ color: rgb(138, 85, 175);
/* oklch */ color: oklch(54.7% 0.144 309.6);
Tailwind
colors: {
  custom: {
    50: '#ae86c7',
    500: '#8a55af',
    950: '#000000',
  },
}
SCSS
$custom: #8a55af;
$custom-light: #ae86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55af",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 275.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.14416,
    "h": 309.6
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#8A55AF
secondary
#ACC49C
accent
#CC5C8A
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A55AF

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

Preview Lab → · Contrast checker → · Palette generator →

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