#982BA5#982BA5

#982BA5 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.200 H 323.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#982BA5
RGBrgb(152, 43, 165)
HSLhsl(294, 59%, 41%)
HSVhsv(294, 74%, 65%)
CMYKcmyk(7.9%, 73.9%, 0%, 35.3%)
CIE-LABlab(39.78, 59.91, -42.95)
CIE-LCHlch(39.78, 73.71, 324.37°)
OKLaboklab(50.71% 0.1605 -0.1199)
OKLCHoklch(50.71% 0.2 323.2)
XYZxyz(20.6037, 11.1210, 36.6513)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BA5 #38A52B
analogous
#5B2BA5 #982BA5 #A52B75
triadic
#982BA5 #A5982B #2BA598
tetradic
#982BA5 #A55B2B #38A52B #2B75A5
square
#982BA5 #A55B2B #38A52B #2B75A5
split-complementary
#982BA5 #75A52B #2BA55B
monochromatic
#3F1244 #6B1E74 #982BA5 #BE40CD #CF71DA

Accessibility & contrast

On white

6.51
#982BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#982BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BA5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BA5#FFFFFF#000000##FFFFFF
##982BA51.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#3F62A2
Tritanopia (blue-blind)
#9A4166
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ba5;
/* rgb */ color: rgb(152, 43, 165);
/* oklch */ color: oklch(50.7% 0.200 323.2);
Tailwind
colors: {
  custom: {
    50: '#ba70c0',
    500: '#982ba5',
    950: '#000000',
  },
}
SCSS
$custom: #982ba5;
$custom-light: #ba70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#982ba5",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 293.607,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50713,
    "c": 0.20029,
    "h": 323.2
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#982BA5
secondary
#74C16B
accent
#E24657
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982BA5

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

Preview Lab → · Contrast checker → · Palette generator →

#982BA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva