#8A2785#8A2785

#8A2785 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.172 H 330.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8A2785
RGBrgb(138, 39, 133)
HSLhsl(303, 56%, 35%)
HSVhsv(303, 72%, 54%)
CMYKcmyk(0%, 71.7%, 3.6%, 45.9%)
CIE-LABlab(35.10, 52.56, -31.05)
CIE-LCHlch(35.10, 61.04, 329.43°)
OKLaboklab(46.31% 0.1488 -0.0856)
OKLCHoklch(46.31% 0.172 330.1)
XYZxyz(15.4403, 8.5489, 23.0226)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2785 #278A2C
analogous
#5D278A #8A2785 #8A2754
triadic
#8A2785 #858A27 #27858A
tetradic
#8A2785 #8A5D27 #278A2C #27548A
square
#8A2785 #8A5D27 #278A2C #27548A
split-complementary
#8A2785 #548A27 #278A5D
monochromatic
#2B0C29 #5A1A57 #8A2785 #BA34B3 #D15BCB

Accessibility & contrast

On white

7.75
#8A2785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A2785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2785
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2785#FFFFFF#000000##FFFFFF
##8A27851.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A88
Deuteranopia (green-blind)
#445783
Tritanopia (blue-blind)
#8F3353
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2785;
/* rgb */ color: rgb(138, 39, 133);
/* oklch */ color: oklch(46.3% 0.172 330.1);
Tailwind
colors: {
  custom: {
    50: '#af6ba9',
    500: '#8a2785',
    950: '#000000',
  },
}
SCSS
$custom: #8a2785;
$custom-light: #af6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2785",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 303.03,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46308,
    "c": 0.1717,
    "h": 330.1
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#8A2785
secondary
#57B65C
accent
#DF5049
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2785

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

Preview Lab → · Contrast checker → · Palette generator →

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