#8A459B#8A459B

#8A459B is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.2% C 0.148 H 319.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A459B
RGBrgb(138, 69, 155)
HSLhsl(288, 38%, 44%)
HSVhsv(288, 55%, 61%)
CMYKcmyk(11%, 55.5%, 0%, 39.2%)
CIE-LABlab(41.26, 43.09, -34.73)
CIE-LCHlch(41.26, 55.35, 321.13°)
OKLaboklab(51.17% 0.1125 -0.0965)
OKLCHoklch(51.17% 0.148 319.4)
XYZxyz(18.5250, 12.0268, 32.3496)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A459B #569B45
analogous
#5F459B #8A459B #9B4581
triadic
#8A459B #9B8A45 #459B8A
tetradic
#8A459B #9B5F45 #569B45 #45819B
square
#8A459B #9B5F45 #569B45 #45819B
split-complementary
#8A459B #819B45 #459B5F
monochromatic
#3F1F46 #643271 #8A459B #A963BA #C08ECD

Accessibility & contrast

On white

6.17
#8A459B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8A459B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A459B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A459B#FFFFFF#000000##FFFFFF
##8A459B1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9E
Deuteranopia (green-blind)
#4B6499
Tritanopia (blue-blind)
#8A5269
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a459b;
/* rgb */ color: rgb(138, 69, 155);
/* oklch */ color: oklch(51.2% 0.148 319.4);
Tailwind
colors: {
  custom: {
    50: '#ae7cb9',
    500: '#8a459b',
    950: '#000000',
  },
}
SCSS
$custom: #8a459b;
$custom-light: #ae7cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a459b",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 288.14,
    "s": 38.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51173,
    "c": 0.14824,
    "h": 319.4
  },
  "luminance": 0.12026
}

Semantic roles & 50–950 ramp

primary
#8A459B
secondary
#8EB884
accent
#CE5971
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A459B

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

Preview Lab → · Contrast checker → · Palette generator →

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