#8A2B9F#8A2B9F

#8A2B9F is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.189 H 319.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8A2B9F
RGBrgb(138, 43, 159)
HSLhsl(289, 57%, 40%)
HSVhsv(289, 73%, 62%)
CMYKcmyk(13.2%, 73%, 0%, 37.6%)
CIE-LABlab(37.18, 55.78, -43.63)
CIE-LCHlch(37.18, 70.82, 321.97°)
OKLaboklab(48.3% 0.1442 -0.1223)
OKLCHoklch(48.3% 0.189 319.7)
XYZxyz(17.6023, 9.6351, 33.7267)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B9F #409F2B
analogous
#502B9F #8A2B9F #9F2B7A
triadic
#8A2B9F #9F8A2B #2B9F8A
tetradic
#8A2B9F #9F502B #409F2B #2B7A9F
square
#8A2B9F #9F502B #409F2B #2B7A9F
split-complementary
#8A2B9F #7A9F2B #2B9F50
monochromatic
#36113F #601E6F #8A2B9F #B13DCA #C46DD7

Accessibility & contrast

On white

7.18
#8A2B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A2B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B9F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B9F#FFFFFF#000000##FFFFFF
##8A2B9F1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2b9f;
/* rgb */ color: rgb(138, 43, 159);
/* oklch */ color: oklch(48.3% 0.189 319.7);
Tailwind
colors: {
  custom: {
    50: '#b06ebc',
    500: '#8a2b9f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b9f;
$custom-light: #b06ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b9f",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 289.138,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48295,
    "c": 0.18907,
    "h": 319.7
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#8A2B9F
secondary
#77BE67
accent
#E14763
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A2B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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