#8A4BA8#8A4BA8

#8A4BA8 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 52.8% C 0.153 H 313.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A4BA8
RGBrgb(138, 75, 168)
HSLhsl(281, 38%, 48%)
HSVhsv(281, 55%, 66%)
CMYKcmyk(17.9%, 55.4%, 0%, 34.1%)
CIE-LABlab(43.16, 42.72, -39.48)
CIE-LCHlch(43.16, 58.17, 317.26°)
OKLaboklab(52.8% 0.1052 -0.1104)
OKLCHoklch(52.8% 0.153 313.6)
XYZxyz(20.0640, 13.2631, 38.5413)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BA8 #69A84B
analogous
#5B4BA8 #8A4BA8 #A84B98
triadic
#8A4BA8 #A88A4B #4BA88A
tetradic
#8A4BA8 #A85B4B #69A84B #4B98A8
square
#8A4BA8 #A85B4B #69A84B #4B98A8
split-complementary
#8A4BA8 #98A84B #4BA85B
monochromatic
#442553 #67387E #8A4BA8 #A671BF #C19BD2

Accessibility & contrast

On white

5.75
#8A4BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8A4BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BA8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BA8#FFFFFF#000000##FFFFFF
##8A4BA81.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AB
Deuteranopia (green-blind)
#4868A6
Tritanopia (blue-blind)
#875A72
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a4ba8;
/* rgb */ color: rgb(138, 75, 168);
/* oklch */ color: oklch(52.8% 0.153 313.6);
Tailwind
colors: {
  custom: {
    50: '#ae80c2',
    500: '#8a4ba8',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ba8;
$custom-light: #ae80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ba8",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 280.645,
    "s": 38.272,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.15251,
    "h": 313.6
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#8A4BA8
secondary
#9FBF90
accent
#CE5A7F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A4BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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