#982AB0#982AB0

#982AB0 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.211 H 319.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#982AB0
RGBrgb(152, 42, 176)
HSLhsl(289, 61%, 43%)
HSVhsv(289, 76%, 69%)
CMYKcmyk(13.6%, 76.1%, 0%, 31%)
CIE-LABlab(40.36, 62.27, -48.59)
CIE-LCHlch(40.36, 78.98, 322.04°)
OKLaboklab(51.34% 0.1605 -0.1364)
OKLCHoklch(51.34% 0.211 319.6)
XYZxyz(21.6123, 11.4670, 42.1408)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AB0 #42B02A
analogous
#552AB0 #982AB0 #B02A85
triadic
#982AB0 #B0982A #2AB098
tetradic
#982AB0 #B0552A #42B02A #2A85B0
square
#982AB0 #B0552A #42B02A #2A85B0
split-complementary
#982AB0 #85B02A #2AB055
monochromatic
#43124D #6D1E7F #982AB0 #B945D3 #CC76DE

Accessibility & contrast

On white

6.38
#982AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#982AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AB0
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AB0#FFFFFF#000000##FFFFFF
##982AB01.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#98466C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982ab0;
/* rgb */ color: rgb(152, 42, 176);
/* oklch */ color: oklch(51.3% 0.211 319.6);
Tailwind
colors: {
  custom: {
    50: '#ba70c8',
    500: '#982ab0',
    950: '#000000',
  },
}
SCSS
$custom: #982ab0;
$custom-light: #ba70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#982ab0",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 289.254,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.21057,
    "h": 319.6
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#982AB0
secondary
#7FC670
accent
#E54360
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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