#982EBD#982EBD

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

Color values

HEX#982EBD
RGBrgb(152, 46, 189)
HSLhsl(284, 61%, 46%)
HSVhsv(284, 76%, 74%)
CMYKcmyk(19.6%, 75.7%, 0%, 25.9%)
CIE-LABlab(41.70, 63.38, -54.09)
CIE-LCHlch(41.70, 83.33, 319.52°)
OKLaboklab(52.56% 0.1553 -0.1525)
OKLCHoklch(52.56% 0.218 315.5)
XYZxyz(23.1097, 12.3044, 49.2919)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EBD #53BD2E
analogous
#512EBD #982EBD #BD2E9A
triadic
#982EBD #BD982E #2EBD98
tetradic
#982EBD #BD512E #53BD2E #2E9ABD
square
#982EBD #BD512E #53BD2E #2E9ABD
split-complementary
#982EBD #9ABD2E #2EBD51
monochromatic
#49165B #70228C #982EBD #B353D5 #C984E1

Accessibility & contrast

On white

6.07
#982EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982EBD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EBD#FFFFFF#000000##FFFFFF
##982EBD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#954E74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982ebd;
/* rgb */ color: rgb(152, 46, 189);
/* oklch */ color: oklch(52.6% 0.218 315.5);
Tailwind
colors: {
  custom: {
    50: '#bb72d2',
    500: '#982ebd',
    950: '#000000',
  },
}
SCSS
$custom: #982ebd;
$custom-light: #bb72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#982ebd",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 284.476,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.21766,
    "h": 315.5
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#982EBD
secondary
#91CA7C
accent
#E4446D
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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