#8A2C9F#8A2C9F

#8A2C9F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.188 H 319.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8A2C9F
RGBrgb(138, 44, 159)
HSLhsl(289, 57%, 40%)
HSVhsv(289, 72%, 62%)
CMYKcmyk(13.2%, 72.3%, 0%, 37.6%)
CIE-LABlab(37.31, 55.40, -43.42)
CIE-LCHlch(37.31, 70.38, 321.91°)
OKLaboklab(48.39% 0.1432 -0.1217)
OKLCHoklch(48.39% 0.188 319.6)
XYZxyz(17.6391, 9.7087, 33.7390)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C9F #419F2C
analogous
#502C9F #8A2C9F #9F2C7B
triadic
#8A2C9F #9F8A2C #2C9F8A
tetradic
#8A2C9F #9F502C #419F2C #2C7B9F
square
#8A2C9F #9F502C #419F2C #2C7B9F
split-complementary
#8A2C9F #7B9F2C #2C9F50
monochromatic
#37113F #601F6F #8A2C9F #B03ECA #C46ED7

Accessibility & contrast

On white

7.14
#8A2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A2C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C9F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C9F#FFFFFF#000000##FFFFFF
##8A2C9F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#355B9C
Tritanopia (blue-blind)
#8A4263
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a2c9f;
/* rgb */ color: rgb(138, 44, 159);
/* oklch */ color: oklch(48.4% 0.188 319.6);
Tailwind
colors: {
  custom: {
    50: '#b06ebc',
    500: '#8a2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c9f;
$custom-light: #b06ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c9f",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 289.043,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48391,
    "c": 0.18789,
    "h": 319.6
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#8A2C9F
secondary
#78BE69
accent
#E04864
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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