#982BD2#982BD2

#982BD2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.8% C 0.239 H 310.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#982BD2
RGBrgb(152, 43, 210)
HSLhsl(279, 66%, 50%)
HSVhsv(279, 80%, 82%)
CMYKcmyk(27.6%, 79.5%, 0%, 17.6%)
CIE-LABlab(42.85, 68.58, -64.43)
CIE-LCHlch(42.85, 94.10, 316.79°)
OKLaboklab(53.85% 0.1537 -0.1829)
OKLCHoklch(53.85% 0.239 310.1)
XYZxyz(25.4433, 13.0569, 62.1402)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BD2 #65D22B
analogous
#452BD2 #982BD2 #D22BB8
triadic
#982BD2 #D2982B #2BD298
tetradic
#982BD2 #D2452B #65D22B #2BB8D2
square
#982BD2 #D2452B #65D22B #2BB8D2
split-complementary
#982BD2 #B8D22B #2BD245
monochromatic
#4E166C #73219F #982BD2 #B15CDE #C98FE8

Accessibility & contrast

On white

5.82
#982BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#982BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BD2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BD2#FFFFFF#000000##FFFFFF
##982BD21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.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: #982bd2;
/* rgb */ color: rgb(152, 43, 210);
/* oklch */ color: oklch(53.8% 0.239 310.1);
Tailwind
colors: {
  custom: {
    50: '#bc72e1',
    500: '#982bd2',
    950: '#000000',
  },
}
SCSS
$custom: #982bd2;
$custom-light: #bc72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#982bd2",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 210
  },
  "hsl": {
    "h": 279.162,
    "s": 66.008,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.23892,
    "h": 310.1
  },
  "luminance": 0.13056
}

Semantic roles & 50–950 ramp

primary
#982BD2
secondary
#A1D386
accent
#E93F7A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #982BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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