#8A288F#8A288F

#8A288F is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.179 H 325.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8A288F
RGBrgb(138, 40, 143)
HSLhsl(297, 56%, 36%)
HSVhsv(297, 72%, 56%)
CMYKcmyk(3.5%, 72%, 0%, 43.9%)
CIE-LABlab(35.80, 53.93, -36.10)
CIE-LCHlch(35.80, 64.90, 326.20°)
OKLaboklab(46.99% 0.148 -0.1003)
OKLCHoklch(46.99% 0.179 325.9)
XYZxyz(16.1976, 8.9051, 26.8470)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A288F #2D8F28
analogous
#56288F #8A288F #8F2860
triadic
#8A288F #8F8A28 #288F8A
tetradic
#8A288F #8F5628 #2D8F28 #28608F
square
#8A288F #8F5628 #2D8F28 #28608F
split-complementary
#8A288F #608F28 #288F56
monochromatic
#2E0D2F #5C1B5F #8A288F #B835BF #CD5FD2

Accessibility & contrast

On white

7.55
#8A288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8A288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A288F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A288F#FFFFFF#000000##FFFFFF
##8A288F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C92
Deuteranopia (green-blind)
#3F588C
Tritanopia (blue-blind)
#8D3959
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a288f;
/* rgb */ color: rgb(138, 40, 143);
/* oklch */ color: oklch(47.0% 0.179 325.9);
Tailwind
colors: {
  custom: {
    50: '#af6cb0',
    500: '#8a288f',
    950: '#000000',
  },
}
SCSS
$custom: #8a288f;
$custom-light: #af6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a288f",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 297.087,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46994,
    "c": 0.17875,
    "h": 325.9
  },
  "luminance": 0.08904
}

Semantic roles & 50–950 ramp

primary
#8A288F
secondary
#60B85B
accent
#E04850
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A288F

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

Preview Lab → · Contrast checker → · Palette generator →

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