#8A2DB0#8A2DB0

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

Color values

HEX#8A2DB0
RGBrgb(138, 45, 176)
HSLhsl(283, 59%, 43%)
HSVhsv(283, 74%, 69%)
CMYKcmyk(21.6%, 74.4%, 0%, 31%)
CIE-LABlab(38.58, 58.41, -51.56)
CIE-LCHlch(38.58, 77.91, 318.56°)
OKLaboklab(49.65% 0.1404 -0.1456)
OKLCHoklch(49.65% 0.202 314)
XYZxyz(19.2547, 10.4153, 42.0619)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2DB0 #53B02D
analogous
#482DB0 #8A2DB0 #B02D94
triadic
#8A2DB0 #B08A2D #2DB08A
tetradic
#8A2DB0 #B0482D #53B02D #2D94B0
square
#8A2DB0 #B0482D #53B02D #2D94B0
split-complementary
#8A2DB0 #94B02D #2DB048
monochromatic
#3E144F #64217F #8A2DB0 #A94AD1 #C07ADD

Accessibility & contrast

On white

6.81
#8A2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A2DB0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2DB0#FFFFFF#000000##FFFFFF
##8A2DB01.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2db0;
/* rgb */ color: rgb(138, 45, 176);
/* oklch */ color: oklch(49.6% 0.202 314.0);
Tailwind
colors: {
  custom: {
    50: '#b06fc8',
    500: '#8a2db0',
    950: '#000000',
  },
}
SCSS
$custom: #8a2db0;
$custom-light: #b06fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2db0",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 282.595,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49649,
    "c": 0.2022,
    "h": 314
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#8A2DB0
secondary
#8BC573
accent
#E24573
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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