#8A2CB3#8A2CB3

#8A2CB3 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.206 H 313.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A2CB3
RGBrgb(138, 44, 179)
HSLhsl(282, 61%, 44%)
HSVhsv(282, 75%, 70%)
CMYKcmyk(22.9%, 75.4%, 0%, 29.8%)
CIE-LABlab(38.66, 59.40, -53.21)
CIE-LCHlch(38.66, 79.75, 318.14°)
OKLaboklab(49.77% 0.1408 -0.1504)
OKLCHoklch(49.77% 0.206 313.1)
XYZxyz(19.5172, 10.4599, 43.6299)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CB3 #55B32C
analogous
#462CB3 #8A2CB3 #B32C98
triadic
#8A2CB3 #B38A2C #2CB38A
tetradic
#8A2CB3 #B3462C #55B32C #2C98B3
square
#8A2CB3 #B3462C #55B32C #2C98B3
split-complementary
#8A2CB3 #98B32C #2CB346
monochromatic
#3E1451 #642082 #8A2CB3 #A94AD2 #C07BDF

Accessibility & contrast

On white

6.79
#8A2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A2CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2CB3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CB3#FFFFFF#000000##FFFFFF
##8A2CB31.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#864B6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a2cb3;
/* rgb */ color: rgb(138, 44, 179);
/* oklch */ color: oklch(49.8% 0.206 313.1);
Tailwind
colors: {
  custom: {
    50: '#b16fca',
    500: '#8a2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #8a2cb3;
$custom-light: #b16fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2cb3",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 281.778,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.20605,
    "h": 313.1
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#8A2CB3
secondary
#8DC774
accent
#E44475
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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