#982AAF#982AAF

#982AAF is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.210 H 320.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#982AAF
RGBrgb(152, 42, 175)
HSLhsl(290, 61%, 43%)
HSVhsv(290, 76%, 69%)
CMYKcmyk(13.1%, 76%, 0%, 31.4%)
CIE-LABlab(40.29, 62.08, -48.10)
CIE-LCHlch(40.29, 78.53, 322.23°)
OKLaboklab(51.27% 0.1606 -0.1349)
OKLCHoklch(51.27% 0.21 320)
XYZxyz(21.5138, 11.4276, 41.6217)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AAF #41AF2A
analogous
#552AAF #982AAF #AF2A83
triadic
#982AAF #AF982A #2AAF98
tetradic
#982AAF #AF552A #41AF2A #2A83AF
square
#982AAF #AF552A #41AF2A #2A83AF
split-complementary
#982AAF #83AF2A #2AAF55
monochromatic
#42124C #6D1E7E #982AAF #BA44D2 #CC75DE

Accessibility & contrast

On white

6.39
#982AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982AAF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AAF#FFFFFF#000000##FFFFFF
##982AAF1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#98456B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982aaf;
/* rgb */ color: rgb(152, 42, 175);
/* oklch */ color: oklch(51.3% 0.210 320.0);
Tailwind
colors: {
  custom: {
    50: '#ba70c7',
    500: '#982aaf',
    950: '#000000',
  },
}
SCSS
$custom: #982aaf;
$custom-light: #ba70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#982aaf",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 289.624,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.20973,
    "h": 320
  },
  "luminance": 0.11426
}

Semantic roles & 50–950 ramp

primary
#982AAF
secondary
#7EC66F
accent
#E4435F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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