#8A2CA9#8A2CA9

#8A2CA9 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.197 H 316.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8A2CA9
RGBrgb(138, 44, 169)
HSLhsl(285, 59%, 42%)
HSVhsv(285, 74%, 66%)
CMYKcmyk(18.3%, 74%, 0%, 33.7%)
CIE-LABlab(37.97, 57.37, -48.37)
CIE-LCHlch(37.97, 75.04, 319.86°)
OKLaboklab(49.06% 0.1422 -0.1362)
OKLCHoklch(49.06% 0.197 316.2)
XYZxyz(18.5422, 10.0700, 38.4954)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CA9 #4BA92C
analogous
#4C2CA9 #8A2CA9 #A92C8A
triadic
#8A2CA9 #A98A2C #2CA98A
tetradic
#8A2CA9 #A94C2C #4BA92C #2C8AA9
square
#8A2CA9 #A94C2C #4BA92C #2C8AA9
split-complementary
#8A2CA9 #8AA92C #2CA94C
monochromatic
#3B1348 #621F78 #8A2CA9 #AC44CE #C274DB

Accessibility & contrast

On white

6.97
#8A2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A2CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2CA9
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CA9#FFFFFF#000000##FFFFFF
##8A2CA91.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#2B5CA6
Tritanopia (blue-blind)
#884668
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a2ca9;
/* rgb */ color: rgb(138, 44, 169);
/* oklch */ color: oklch(49.1% 0.197 316.2);
Tailwind
colors: {
  custom: {
    50: '#b06fc3',
    500: '#8a2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #8a2ca9;
$custom-light: #b06fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2ca9",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 285.12,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49064,
    "c": 0.19692,
    "h": 316.2
  },
  "luminance": 0.10069
}

Semantic roles & 50–950 ramp

primary
#8A2CA9
secondary
#83C36E
accent
#E2466D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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