#8A2685#8A2685

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

Color values

HEX#8A2685
RGBrgb(138, 38, 133)
HSLhsl(303, 57%, 35%)
HSVhsv(303, 72%, 54%)
CMYKcmyk(0%, 72.5%, 3.6%, 45.9%)
CIE-LABlab(34.97, 52.92, -31.25)
CIE-LCHlch(34.97, 61.46, 329.44°)
OKLaboklab(46.22% 0.1499 -0.0862)
OKLCHoklch(46.22% 0.173 330.1)
XYZxyz(15.4079, 8.4841, 23.0118)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2685 #268A2B
analogous
#5D268A #8A2685 #8A2653
triadic
#8A2685 #858A26 #26858A
tetradic
#8A2685 #8A5D26 #268A2B #26538A
square
#8A2685 #8A5D26 #268A2B #26538A
split-complementary
#8A2685 #538A26 #268A5D
monochromatic
#2A0C29 #5A1957 #8A2685 #BA33B3 #D159CB

Accessibility & contrast

On white

7.79
#8A2685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A2685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2685
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2685#FFFFFF#000000##FFFFFF
##8A26851.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A88
Deuteranopia (green-blind)
#435782
Tritanopia (blue-blind)
#8F3353
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2685;
/* rgb */ color: rgb(138, 38, 133);
/* oklch */ color: oklch(46.2% 0.173 330.1);
Tailwind
colors: {
  custom: {
    50: '#af6ba9',
    500: '#8a2685',
    950: '#000000',
  },
}
SCSS
$custom: #8a2685;
$custom-light: #af6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2685",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 303,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46215,
    "c": 0.17291,
    "h": 330.1
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#8A2685
secondary
#56B65B
accent
#E04F48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2685

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

Preview Lab → · Contrast checker → · Palette generator →

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