#982CD2#982CD2

#982CD2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.9% C 0.238 H 310.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#982CD2
RGBrgb(152, 44, 210)
HSLhsl(279, 65%, 50%)
HSVhsv(279, 79%, 82%)
CMYKcmyk(27.6%, 79%, 0%, 17.6%)
CIE-LABlab(42.96, 68.26, -64.25)
CIE-LCHlch(42.96, 93.75, 316.73°)
OKLaboklab(53.92% 0.153 -0.1824)
OKLCHoklch(53.92% 0.238 310)
XYZxyz(25.4801, 13.1305, 62.1524)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CD2 #66D22C
analogous
#452CD2 #982CD2 #D22CB9
triadic
#982CD2 #D2982C #2CD298
tetradic
#982CD2 #D2452C #66D22C #2CB9D2
square
#982CD2 #D2452C #66D22C #2CB9D2
split-complementary
#982CD2 #B9D22C #2CD245
monochromatic
#4F176D #73219F #982CD2 #B15EDD #C991E8

Accessibility & contrast

On white

5.79
#982CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#982CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CD2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CD2#FFFFFF#000000##FFFFFF
##982CD21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#905680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #982cd2;
/* rgb */ color: rgb(152, 44, 210);
/* oklch */ color: oklch(53.9% 0.238 310.0);
Tailwind
colors: {
  custom: {
    50: '#bc72e1',
    500: '#982cd2',
    950: '#000000',
  },
}
SCSS
$custom: #982cd2;
$custom-light: #bc72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#982cd2",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 210
  },
  "hsl": {
    "h": 279.036,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.23804,
    "h": 310
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#982CD2
secondary
#A2D287
accent
#E83F7A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #982CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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