#8A2EB0#8A2EB0

#8A2EB0 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.7% C 0.201 H 313.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8A2EB0
RGBrgb(138, 46, 176)
HSLhsl(282, 59%, 44%)
HSVhsv(282, 74%, 69%)
CMYKcmyk(21.6%, 73.9%, 0%, 31%)
CIE-LABlab(38.71, 58.02, -51.34)
CIE-LCHlch(38.71, 77.48, 318.49°)
OKLaboklab(49.74% 0.1394 -0.1449)
OKLCHoklch(49.74% 0.201 313.9)
XYZxyz(19.2934, 10.4925, 42.0748)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2EB0 #54B02E
analogous
#492EB0 #8A2EB0 #B02E95
triadic
#8A2EB0 #B08A2E #2EB08A
tetradic
#8A2EB0 #B0492E #54B02E #2E95B0
square
#8A2EB0 #B0492E #54B02E #2E95B0
split-complementary
#8A2EB0 #95B02E #2EB049
monochromatic
#3E154F #64217F #8A2EB0 #A94BD0 #C07CDD

Accessibility & contrast

On white

6.78
#8A2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8A2EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2EB0
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2EB0#FFFFFF#000000##FFFFFF
##8A2EB01.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#864B6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a2eb0;
/* rgb */ color: rgb(138, 46, 176);
/* oklch */ color: oklch(49.7% 0.201 313.9);
Tailwind
colors: {
  custom: {
    50: '#b070c8',
    500: '#8a2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a2eb0;
$custom-light: #b070c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2eb0",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 282.462,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49744,
    "c": 0.20108,
    "h": 313.9
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#8A2EB0
secondary
#8CC575
accent
#E24674
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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