#982EAF#982EAF

#982EAF is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.205 H 319.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#982EAF
RGBrgb(152, 46, 175)
HSLhsl(289, 58%, 43%)
HSVhsv(289, 74%, 69%)
CMYKcmyk(13.1%, 73.7%, 0%, 31.4%)
CIE-LABlab(40.78, 60.69, -47.32)
CIE-LCHlch(40.78, 76.96, 322.06°)
OKLaboklab(51.62% 0.1569 -0.1327)
OKLCHoklch(51.62% 0.205 319.8)
XYZxyz(21.6628, 11.7256, 41.6713)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EAF #45AF2E
analogous
#572EAF #982EAF #AF2E85
triadic
#982EAF #AF982E #2EAF98
tetradic
#982EAF #AF572E #45AF2E #2E85AF
square
#982EAF #AF572E #45AF2E #2E85AF
split-complementary
#982EAF #85AF2E #2EAF57
monochromatic
#44154E #6E217F #982EAF #B84BD0 #CB7BDC

Accessibility & contrast

On white

6.28
#982EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#982EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EAF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EAF#FFFFFF#000000##FFFFFF
##982EAF1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982eaf;
/* rgb */ color: rgb(152, 46, 175);
/* oklch */ color: oklch(51.6% 0.205 319.8);
Tailwind
colors: {
  custom: {
    50: '#ba72c7',
    500: '#982eaf',
    950: '#000000',
  },
}
SCSS
$custom: #982eaf;
$custom-light: #ba72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#982eaf",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 289.302,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51619,
    "c": 0.20546,
    "h": 319.8
  },
  "luminance": 0.11725
}

Semantic roles & 50–950 ramp

primary
#982EAF
secondary
#82C574
accent
#E24662
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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