#982CE2#982CE2

#982CE2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 55.2% C 0.252 H 306.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#982CE2
RGBrgb(152, 44, 226)
HSLhsl(276, 76%, 53%)
HSVhsv(276, 81%, 89%)
CMYKcmyk(32.7%, 80.5%, 0%, 11.4%)
CIE-LABlab(44.19, 71.57, -71.42)
CIE-LCHlch(44.19, 101.11, 315.06°)
OKLaboklab(55.16% 0.149 -0.2034)
OKLCHoklch(55.16% 0.252 306.2)
XYZxyz(27.5740, 13.9680, 73.1802)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CE2 #76E22C
analogous
#3D2CE2 #982CE2 #E22CD1
triadic
#982CE2 #E2982C #2CE298
tetradic
#982CE2 #E23D2C #76E22C #2CD1E2
square
#982CE2 #E23D2C #76E22C #2CD1E2
split-complementary
#982CE2 #D1E22C #2CE23D
monochromatic
#541282 #7719B8 #982CE2 #B262E9 #CD98F1

Accessibility & contrast

On white

5.54
#982CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#982CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CE2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CE2#FFFFFF#000000##FFFFFF
##982CE21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#8B5E89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #982ce2;
/* rgb */ color: rgb(152, 44, 226);
/* oklch */ color: oklch(55.2% 0.252 306.2);
Tailwind
colors: {
  custom: {
    50: '#bd73ec',
    500: '#982ce2',
    950: '#000000',
  },
}
SCSS
$custom: #982ce2;
$custom-light: #bd73ec;
$custom-dark: #000000;
JSON
{
  "hex": "#982ce2",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 226
  },
  "hsl": {
    "h": 275.604,
    "s": 75.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.25217,
    "h": 306.2
  },
  "luminance": 0.13968
}

Semantic roles & 50–950 ramp

primary
#982CE2
secondary
#AEDC8E
accent
#F23582
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #982CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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