#982FBA#982FBA

#982FBA is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.214 H 316.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#982FBA
RGBrgb(152, 47, 186)
HSLhsl(285, 60%, 46%)
HSVhsv(285, 75%, 73%)
CMYKcmyk(18.3%, 74.7%, 0%, 27.1%)
CIE-LABlab(41.62, 62.44, -52.46)
CIE-LCHlch(41.62, 81.55, 319.97°)
OKLaboklab(52.44% 0.1548 -0.1477)
OKLCHoklch(52.44% 0.214 316.3)
XYZxyz(22.8270, 12.2545, 47.6078)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FBA #51BA2F
analogous
#522FBA #982FBA #BA2F96
triadic
#982FBA #BA982F #2FBA98
tetradic
#982FBA #BA522F #51BA2F #2F96BA
square
#982FBA #BA522F #51BA2F #2F96BA
split-complementary
#982FBA #96BA2F #2FBA52
monochromatic
#481658 #702389 #982FBA #B453D3 #C984E0

Accessibility & contrast

On white

6.09
#982FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#982FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FBA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FBA#FFFFFF#000000##FFFFFF
##982FBA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#964D73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982fba;
/* rgb */ color: rgb(152, 47, 186);
/* oklch */ color: oklch(52.4% 0.214 316.3);
Tailwind
colors: {
  custom: {
    50: '#bb72cf',
    500: '#982fba',
    950: '#000000',
  },
}
SCSS
$custom: #982fba;
$custom-light: #bb72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#982fba",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 285.324,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.21398,
    "h": 316.3
  },
  "luminance": 0.12254
}

Semantic roles & 50–950 ramp

primary
#982FBA
secondary
#8FC97C
accent
#E3456C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #982FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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