#8A2B85#8A2B85

#8A2B85 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.167 H 330.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8A2B85
RGBrgb(138, 43, 133)
HSLhsl(303, 52%, 35%)
HSVhsv(303, 69%, 54%)
CMYKcmyk(0%, 68.8%, 3.6%, 45.9%)
CIE-LABlab(35.65, 51.02, -30.18)
CIE-LCHlch(35.65, 59.28, 329.39°)
OKLaboklab(46.7% 0.1444 -0.0831)
OKLCHoklch(46.7% 0.167 330.1)
XYZxyz(15.5787, 8.8256, 23.0688)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B85 #2B8A30
analogous
#5F2B8A #8A2B85 #8A2B55
triadic
#8A2B85 #858A2B #2B858A
tetradic
#8A2B85 #8A5F2B #2B8A30 #2B558A
square
#8A2B85 #8A5F2B #2B8A30 #2B558A
split-complementary
#8A2B85 #558A2B #2B8A5F
monochromatic
#2D0E2B #5B1C58 #8A2B85 #B93AB2 #CE61C8

Accessibility & contrast

On white

7.60
#8A2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B85
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B85#FFFFFF#000000##FFFFFF
##8A2B851.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C88
Deuteranopia (green-blind)
#465883
Tritanopia (blue-blind)
#8F3654
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2b85;
/* rgb */ color: rgb(138, 43, 133);
/* oklch */ color: oklch(46.7% 0.167 330.1);
Tailwind
colors: {
  custom: {
    50: '#af6da9',
    500: '#8a2b85',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b85;
$custom-light: #af6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b85",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 303.158,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46701,
    "c": 0.16666,
    "h": 330.1
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#8A2B85
secondary
#5DB461
accent
#DC534C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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