#8A2983#8A2983

#8A2983 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.168 H 331.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8A2983
RGBrgb(138, 41, 131)
HSLhsl(304, 54%, 35%)
HSVhsv(304, 70%, 54%)
CMYKcmyk(0%, 70.3%, 5.1%, 45.9%)
CIE-LABlab(35.26, 51.46, -29.55)
CIE-LCHlch(35.26, 59.34, 330.13°)
OKLaboklab(46.39% 0.1466 -0.0813)
OKLCHoklch(46.39% 0.168 331)
XYZxyz(15.3709, 8.6290, 22.3243)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2983 #298A30
analogous
#61298A #8A2983 #8A2952
triadic
#8A2983 #838A29 #29838A
tetradic
#8A2983 #8A6129 #298A30 #29528A
square
#8A2983 #8A6129 #298A30 #29528A
split-complementary
#8A2983 #528A29 #298A61
monochromatic
#2C0D29 #5B1B56 #8A2983 #B937B0 #CF5EC7

Accessibility & contrast

On white

7.70
#8A2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2983
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2983#FFFFFF#000000##FFFFFF
##8A29831.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A86
Deuteranopia (green-blind)
#465881
Tritanopia (blue-blind)
#903453
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2983;
/* rgb */ color: rgb(138, 41, 131);
/* oklch */ color: oklch(46.4% 0.168 331.0);
Tailwind
colors: {
  custom: {
    50: '#af6ca7',
    500: '#8a2983',
    950: '#000000',
  },
}
SCSS
$custom: #8a2983;
$custom-light: #af6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2983",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 304.33,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46387,
    "c": 0.16761,
    "h": 331
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#8A2983
secondary
#5AB561
accent
#DE554A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2983

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

Preview Lab → · Contrast checker → · Palette generator →

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