#982FAF#982FAF

#982FAF is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.204 H 319.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#982FAF
RGBrgb(152, 47, 175)
HSLhsl(289, 58%, 44%)
HSVhsv(289, 73%, 69%)
CMYKcmyk(13.1%, 73.1%, 0%, 31.4%)
CIE-LABlab(40.90, 60.33, -47.11)
CIE-LCHlch(40.90, 76.54, 322.01°)
OKLaboklab(51.71% 0.1559 -0.1321)
OKLCHoklch(51.71% 0.204 319.7)
XYZxyz(21.7023, 11.8047, 41.6845)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FAF #46AF2F
analogous
#582FAF #982FAF #AF2F86
triadic
#982FAF #AF982F #2FAF98
tetradic
#982FAF #AF582F #46AF2F #2F86AF
square
#982FAF #AF582F #46AF2F #2F86AF
split-complementary
#982FAF #86AF2F #2FAF58
monochromatic
#44154F #6E227F #982FAF #B74CCF #CB7CDC

Accessibility & contrast

On white

6.25
#982FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#982FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FAF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FAF#FFFFFF#000000##FFFFFF
##982FAF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#98486C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982faf;
/* rgb */ color: rgb(152, 47, 175);
/* oklch */ color: oklch(51.7% 0.204 319.7);
Tailwind
colors: {
  custom: {
    50: '#ba72c7',
    500: '#982faf',
    950: '#000000',
  },
}
SCSS
$custom: #982faf;
$custom-light: #ba72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#982faf",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 289.219,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.20435,
    "h": 319.7
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#982FAF
secondary
#84C475
accent
#E14763
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #982FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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