#982EBE#982EBE

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

Color values

HEX#982EBE
RGBrgb(152, 46, 190)
HSLhsl(284, 61%, 46%)
HSVhsv(284, 76%, 75%)
CMYKcmyk(20%, 75.8%, 0%, 25.5%)
CIE-LABlab(41.76, 63.58, -54.57)
CIE-LCHlch(41.76, 83.79, 319.36°)
OKLaboklab(52.63% 0.1551 -0.1539)
OKLCHoklch(52.63% 0.219 315.2)
XYZxyz(23.2186, 12.3480, 49.8655)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EBE #54BE2E
analogous
#502EBE #982EBE #BE2E9C
triadic
#982EBE #BE982E #2EBE98
tetradic
#982EBE #BE502E #54BE2E #2E9CBE
square
#982EBE #BE502E #54BE2E #2E9CBE
split-complementary
#982EBE #9CBE2E #2EBE50
monochromatic
#49165B #71228D #982EBE #B354D6 #C985E1

Accessibility & contrast

On white

6.05
#982EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#982EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EBE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EBE#FFFFFF#000000##FFFFFF
##982EBE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#2865BB
Tritanopia (blue-blind)
#954E75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #982ebe;
/* rgb */ color: rgb(152, 46, 190);
/* oklch */ color: oklch(52.6% 0.219 315.2);
Tailwind
colors: {
  custom: {
    50: '#bb72d2',
    500: '#982ebe',
    950: '#000000',
  },
}
SCSS
$custom: #982ebe;
$custom-light: #bb72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#982ebe",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 284.167,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.21853,
    "h": 315.2
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#982EBE
secondary
#92CB7D
accent
#E4446E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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