#8A2783#8A2783

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

Color values

HEX#8A2783
RGBrgb(138, 39, 131)
HSLhsl(304, 56%, 35%)
HSVhsv(304, 72%, 54%)
CMYKcmyk(0%, 71.7%, 5.1%, 45.9%)
CIE-LABlab(34.99, 52.22, -29.98)
CIE-LCHlch(34.99, 60.21, 330.14°)
OKLaboklab(46.19% 0.1488 -0.0825)
OKLCHoklch(46.19% 0.17 331)
XYZxyz(15.3035, 8.4942, 22.3019)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2783 #278A2E
analogous
#5F278A #8A2783 #8A2752
triadic
#8A2783 #838A27 #27838A
tetradic
#8A2783 #8A5F27 #278A2E #27528A
square
#8A2783 #8A5F27 #278A2E #27528A
split-complementary
#8A2783 #528A27 #278A5F
monochromatic
#2B0C28 #5A1A56 #8A2783 #BA34B0 #D15BC8

Accessibility & contrast

On white

7.78
#8A2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2783
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2783#FFFFFF#000000##FFFFFF
##8A27831.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A86
Deuteranopia (green-blind)
#455781
Tritanopia (blue-blind)
#903252
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2783;
/* rgb */ color: rgb(138, 39, 131);
/* oklch */ color: oklch(46.2% 0.170 331.0);
Tailwind
colors: {
  custom: {
    50: '#af6ba7',
    500: '#8a2783',
    950: '#000000',
  },
}
SCSS
$custom: #8a2783;
$custom-light: #af6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2783",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 304.242,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46194,
    "c": 0.17011,
    "h": 331
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#8A2783
secondary
#57B65E
accent
#DF5349
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2783

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

Preview Lab → · Contrast checker → · Palette generator →

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