#8A2985#8A2985

#8A2985 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.169 H 330.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8A2985
RGBrgb(138, 41, 133)
HSLhsl(303, 54%, 35%)
HSVhsv(303, 70%, 54%)
CMYKcmyk(0%, 70.3%, 3.6%, 45.9%)
CIE-LABlab(35.37, 51.80, -30.62)
CIE-LCHlch(35.37, 60.18, 329.41°)
OKLaboklab(46.5% 0.1467 -0.0844)
OKLCHoklch(46.5% 0.169 330.1)
XYZxyz(15.5077, 8.6838, 23.0451)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2985 #298A2E
analogous
#5F298A #8A2985 #8A2954
triadic
#8A2985 #858A29 #29858A
tetradic
#8A2985 #8A5F29 #298A2E #29548A
square
#8A2985 #8A5F29 #298A2E #29548A
split-complementary
#8A2985 #548A29 #298A5F
monochromatic
#2C0D2A #5B1B58 #8A2985 #B937B2 #CF5EC9

Accessibility & contrast

On white

7.67
#8A2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2985
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2985#FFFFFF#000000##FFFFFF
##8A29851.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B88
Deuteranopia (green-blind)
#455883
Tritanopia (blue-blind)
#8F3554
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2985;
/* rgb */ color: rgb(138, 41, 133);
/* oklch */ color: oklch(46.5% 0.169 330.1);
Tailwind
colors: {
  custom: {
    50: '#af6ca9',
    500: '#8a2985',
    950: '#000000',
  },
}
SCSS
$custom: #8a2985;
$custom-light: #af6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2985",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 303.093,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.465,
    "c": 0.16923,
    "h": 330.1
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#8A2985
secondary
#5AB55F
accent
#DE524A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2985

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

Preview Lab → · Contrast checker → · Palette generator →

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