#982AE2#982AE2

#982AE2 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 55.0% C 0.254 H 306.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#982AE2
RGBrgb(152, 42, 226)
HSLhsl(276, 76%, 53%)
HSVhsv(276, 81%, 89%)
CMYKcmyk(32.7%, 81.4%, 0%, 11.4%)
CIE-LABlab(43.98, 72.18, -71.76)
CIE-LCHlch(43.98, 101.78, 315.17°)
OKLaboklab(55.02% 0.1504 -0.2044)
OKLCHoklch(55.02% 0.254 306.3)
XYZxyz(27.5013, 13.8226, 73.1560)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AE2 #74E22A
analogous
#3C2AE2 #982AE2 #E22AD0
triadic
#982AE2 #E2982A #2AE298
tetradic
#982AE2 #E23C2A #74E22A #2AD0E2
square
#982AE2 #E23C2A #74E22A #2AD0E2
split-complementary
#982AE2 #D0E22A #2AE23C
monochromatic
#541180 #7719B6 #982AE2 #B260E9 #CC96F1

Accessibility & contrast

On white

5.58
#982AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#982AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AE2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AE2#FFFFFF#000000##FFFFFF
##982AE21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#8B5D89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #982ae2;
/* rgb */ color: rgb(152, 42, 226);
/* oklch */ color: oklch(55.0% 0.254 306.3);
Tailwind
colors: {
  custom: {
    50: '#bd72ec',
    500: '#982ae2',
    950: '#000000',
  },
}
SCSS
$custom: #982ae2;
$custom-light: #bd72ec;
$custom-dark: #000000;
JSON
{
  "hex": "#982ae2",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 226
  },
  "hsl": {
    "h": 275.87,
    "s": 76.033,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55016,
    "c": 0.25376,
    "h": 306.3
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#982AE2
secondary
#ACDC8C
accent
#F33581
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #982AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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