#8A2CB0#8A2CB0

#8A2CB0 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.203 H 314.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A2CB0
RGBrgb(138, 44, 176)
HSLhsl(283, 60%, 43%)
HSVhsv(283, 75%, 69%)
CMYKcmyk(21.6%, 75%, 0%, 31%)
CIE-LABlab(38.45, 58.78, -51.77)
CIE-LCHlch(38.45, 78.33, 318.63°)
OKLaboklab(49.56% 0.1413 -0.1462)
OKLCHoklch(49.56% 0.203 314)
XYZxyz(19.2170, 10.3399, 42.0494)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CB0 #52B02C
analogous
#482CB0 #8A2CB0 #B02C94
triadic
#8A2CB0 #B08A2C #2CB08A
tetradic
#8A2CB0 #B0482C #52B02C #2C94B0
square
#8A2CB0 #B0482C #52B02C #2C94B0
split-complementary
#8A2CB0 #94B02C #2CB048
monochromatic
#3D144E #64207F #8A2CB0 #AA48D1 #C179DD

Accessibility & contrast

On white

6.85
#8A2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A2CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2CB0
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CB0#FFFFFF#000000##FFFFFF
##8A2CB01.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#225DAD
Tritanopia (blue-blind)
#864A6C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a2cb0;
/* rgb */ color: rgb(138, 44, 176);
/* oklch */ color: oklch(49.6% 0.203 314.0);
Tailwind
colors: {
  custom: {
    50: '#b06fc8',
    500: '#8a2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a2cb0;
$custom-light: #b06fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2cb0",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 282.727,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49555,
    "c": 0.2033,
    "h": 314
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#8A2CB0
secondary
#8AC672
accent
#E34572
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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