#8A2CA7#8A2CA7

#8A2CA7 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.195 H 316.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A2CA7
RGBrgb(138, 44, 167)
HSLhsl(286, 58%, 41%)
HSVhsv(286, 74%, 65%)
CMYKcmyk(17.4%, 73.7%, 0%, 34.5%)
CIE-LABlab(37.83, 56.97, -47.39)
CIE-LCHlch(37.83, 74.10, 320.24°)
OKLaboklab(48.93% 0.1425 -0.1333)
OKLCHoklch(48.93% 0.195 316.9)
XYZxyz(18.3559, 9.9954, 37.5141)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CA7 #49A72C
analogous
#4D2CA7 #8A2CA7 #A72C87
triadic
#8A2CA7 #A78A2C #2CA78A
tetradic
#8A2CA7 #A74D2C #49A72C #2C87A7
square
#8A2CA7 #A74D2C #49A72C #2C87A7
split-complementary
#8A2CA7 #87A72C #2CA74D
monochromatic
#3A1246 #621F77 #8A2CA7 #AD43CD #C273DA

Accessibility & contrast

On white

7.00
#8A2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8A2CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2CA7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CA7#FFFFFF#000000##FFFFFF
##8A2CA71.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#2E5CA4
Tritanopia (blue-blind)
#884667
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a2ca7;
/* rgb */ color: rgb(138, 44, 167);
/* oklch */ color: oklch(48.9% 0.195 316.9);
Tailwind
colors: {
  custom: {
    50: '#b06fc2',
    500: '#8a2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #8a2ca7;
$custom-light: #b06fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2ca7",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 285.854,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.19511,
    "h": 316.9
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

primary
#8A2CA7
secondary
#81C26D
accent
#E2466B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8A2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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