#982DBF#982DBF

#982DBF is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.220 H 315.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#982DBF
RGBrgb(152, 45, 191)
HSLhsl(284, 62%, 46%)
HSVhsv(284, 76%, 75%)
CMYKcmyk(20.4%, 76.4%, 0%, 25.1%)
CIE-LABlab(41.71, 64.12, -55.24)
CIE-LCHlch(41.71, 84.63, 319.26°)
OKLaboklab(52.62% 0.1558 -0.1559)
OKLCHoklch(52.62% 0.22 315)
XYZxyz(23.2897, 12.3146, 50.4303)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DBF #54BF2D
analogous
#4F2DBF #982DBF #BF2D9D
triadic
#982DBF #BF982D #2DBF98
tetradic
#982DBF #BF4F2D #54BF2D #2D9DBF
square
#982DBF #BF4F2D #54BF2D #2D9DBF
split-complementary
#982DBF #9DBF2D #2DBF4F
monochromatic
#49165C #71218D #982DBF #B353D6 #C984E2

Accessibility & contrast

On white

6.06
#982DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#982DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DBF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DBF#FFFFFF#000000##FFFFFF
##982DBF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#954E75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982dbf;
/* rgb */ color: rgb(152, 45, 191);
/* oklch */ color: oklch(52.6% 0.220 315.0);
Tailwind
colors: {
  custom: {
    50: '#bb72d3',
    500: '#982dbf',
    950: '#000000',
  },
}
SCSS
$custom: #982dbf;
$custom-light: #bb72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#982dbf",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 283.973,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52618,
    "c": 0.22043,
    "h": 315
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#982DBF
secondary
#92CB7C
accent
#E5436E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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