#982CAF#982CAF

#982CAF is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.208 H 319.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#982CAF
RGBrgb(152, 44, 175)
HSLhsl(289, 60%, 43%)
HSVhsv(289, 75%, 69%)
CMYKcmyk(13.1%, 74.9%, 0%, 31.4%)
CIE-LABlab(40.53, 61.40, -47.71)
CIE-LCHlch(40.53, 77.76, 322.15°)
OKLaboklab(51.44% 0.1588 -0.1338)
OKLCHoklch(51.44% 0.208 319.9)
XYZxyz(21.5865, 11.5730, 41.6459)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CAF #43AF2C
analogous
#572CAF #982CAF #AF2C84
triadic
#982CAF #AF982C #2CAF98
tetradic
#982CAF #AF572C #43AF2C #2C84AF
square
#982CAF #AF572C #43AF2C #2C84AF
split-complementary
#982CAF #84AF2C #2CAF57
monochromatic
#43134D #6E207E #982CAF #B947D1 #CB78DD

Accessibility & contrast

On white

6.34
#982CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#982CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CAF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CAF#FFFFFF#000000##FFFFFF
##982CAF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#98466C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982caf;
/* rgb */ color: rgb(152, 44, 175);
/* oklch */ color: oklch(51.4% 0.208 319.9);
Tailwind
colors: {
  custom: {
    50: '#ba71c7',
    500: '#982caf',
    950: '#000000',
  },
}
SCSS
$custom: #982caf;
$custom-light: #ba71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#982caf",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 289.466,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51443,
    "c": 0.20764,
    "h": 319.9
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#982CAF
secondary
#80C572
accent
#E34561
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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