#8A2CB1#8A2CB1

#8A2CB1 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.6% C 0.204 H 313.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A2CB1
RGBrgb(138, 44, 177)
HSLhsl(282, 60%, 43%)
HSVhsv(282, 75%, 69%)
CMYKcmyk(22%, 75.1%, 0%, 30.6%)
CIE-LABlab(38.52, 58.99, -52.25)
CIE-LCHlch(38.52, 78.80, 318.46°)
OKLaboklab(49.63% 0.1411 -0.1476)
OKLCHoklch(49.63% 0.204 313.7)
XYZxyz(19.3164, 10.3796, 42.5724)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CB1 #53B12C
analogous
#472CB1 #8A2CB1 #B12C95
triadic
#8A2CB1 #B18A2C #2CB18A
tetradic
#8A2CB1 #B1472C #53B12C #2C95B1
square
#8A2CB1 #B1472C #53B12C #2C95B1
split-complementary
#8A2CB1 #95B12C #2CB147
monochromatic
#3E144F #642080 #8A2CB1 #A949D2 #C07ADE

Accessibility & contrast

On white

6.83
#8A2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8A2CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2CB1
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CB1#FFFFFF#000000##FFFFFF
##8A2CB11.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#205DAE
Tritanopia (blue-blind)
#864A6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a2cb1;
/* rgb */ color: rgb(138, 44, 177);
/* oklch */ color: oklch(49.6% 0.204 313.7);
Tailwind
colors: {
  custom: {
    50: '#b06fc9',
    500: '#8a2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #8a2cb1;
$custom-light: #b06fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2cb1",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 282.406,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49626,
    "c": 0.20421,
    "h": 313.7
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#8A2CB1
secondary
#8BC673
accent
#E34473
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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