#8A2B8C#8A2B8C

#8A2B8C is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.173 H 327.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8A2B8C
RGBrgb(138, 43, 140)
HSLhsl(299, 53%, 36%)
HSVhsv(299, 69%, 55%)
CMYKcmyk(1.4%, 69.3%, 0%, 45.1%)
CIE-LABlab(36.03, 52.25, -33.89)
CIE-LCHlch(36.03, 62.27, 327.03°)
OKLaboklab(47.11% 0.1447 -0.0939)
OKLCHoklch(47.11% 0.173 327)
XYZxyz(16.0785, 9.0256, 25.7011)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B8C #2D8C2B
analogous
#592B8C #8A2B8C #8C2B5D
triadic
#8A2B8C #8C8A2B #2B8C8A
tetradic
#8A2B8C #8C592B #2D8C2B #2B5D8C
square
#8A2B8C #8C592B #2D8C2B #2B5D8C
split-complementary
#8A2B8C #5D8C2B #2B8C59
monochromatic
#2E0E2E #5C1D5D #8A2B8C #B839BB #CD62CF

Accessibility & contrast

On white

7.49
#8A2B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A2B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B8C
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B8C#FFFFFF#000000##FFFFFF
##8A2B8C1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D8F
Deuteranopia (green-blind)
#425989
Tritanopia (blue-blind)
#8E3958
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2b8c;
/* rgb */ color: rgb(138, 43, 140);
/* oklch */ color: oklch(47.1% 0.173 327.0);
Tailwind
colors: {
  custom: {
    50: '#af6dae',
    500: '#8a2b8c',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b8c;
$custom-light: #af6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b8c",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 140
  },
  "hsl": {
    "h": 298.763,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47105,
    "c": 0.17251,
    "h": 327
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#8A2B8C
secondary
#60B55E
accent
#DC4B4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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