#8A289C#8A289C

#8A289C is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.190 H 320.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8A289C
RGBrgb(138, 40, 156)
HSLhsl(291, 59%, 38%)
HSVhsv(291, 74%, 61%)
CMYKcmyk(11.5%, 74.4%, 0%, 38.8%)
CIE-LABlab(36.60, 56.32, -42.75)
CIE-LCHlch(36.60, 70.71, 322.80°)
OKLaboklab(47.82% 0.1474 -0.1197)
OKLCHoklch(47.82% 0.19 320.9)
XYZxyz(17.2401, 9.3221, 32.3373)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A289C #3A9C28
analogous
#50289C #8A289C #9C2874
triadic
#8A289C #9C8A28 #289C8A
tetradic
#8A289C #9C5028 #3A9C28 #28749C
square
#8A289C #9C5028 #3A9C28 #28749C
split-complementary
#8A289C #749C28 #289C50
monochromatic
#340F3B #5F1C6B #8A289C #B436CB #C667D8

Accessibility & contrast

On white

7.33
#8A289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A289C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A289C#FFFFFF#000000##FFFFFF
##8A289C1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#355A99
Tritanopia (blue-blind)
#8B3E60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a289c;
/* rgb */ color: rgb(138, 40, 156);
/* oklch */ color: oklch(47.8% 0.190 320.9);
Tailwind
colors: {
  custom: {
    50: '#b06cba',
    500: '#8a289c',
    950: '#000000',
  },
}
SCSS
$custom: #8a289c;
$custom-light: #b06cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a289c",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 290.69,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47819,
    "c": 0.18987,
    "h": 320.9
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#8A289C
secondary
#70BE62
accent
#E2455E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A289C

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

Preview Lab → · Contrast checker → · Palette generator →

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