#982086#982086

#982086 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.188 H 335.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#982086
RGBrgb(152, 32, 134)
HSLhsl(309, 65%, 36%)
HSVhsv(309, 79%, 60%)
CMYKcmyk(0%, 78.9%, 11.8%, 40.4%)
CIE-LABlab(36.80, 58.30, -28.82)
CIE-LCHlch(36.80, 65.04, 333.70°)
OKLaboklab(48.01% 0.1704 -0.0788)
OKLCHoklch(48.01% 0.188 335.2)
XYZxyz(17.7687, 9.4313, 23.4342)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982086 #209832
analogous
#6E2098 #982086 #98204A
triadic
#982086 #869820 #208698
tetradic
#982086 #986E20 #209832 #204A98
square
#982086 #986E20 #209832 #204A98
split-complementary
#982086 #4A9820 #20986E
monochromatic
#330B2D #651559 #982086 #CB2BB3 #DC57C8

Accessibility & contrast

On white

7.28
#982086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#982086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982086
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982086#FFFFFF#000000##FFFFFF
##9820861.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B89
Deuteranopia (green-blind)
#4D5D83
Tritanopia (blue-blind)
#A02B52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982086;
/* rgb */ color: rgb(152, 32, 134);
/* oklch */ color: oklch(48.0% 0.188 335.2);
Tailwind
colors: {
  custom: {
    50: '#ba6aa9',
    500: '#982086',
    950: '#000000',
  },
}
SCSS
$custom: #982086;
$custom-light: #ba6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#982086",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 309,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48014,
    "c": 0.18776,
    "h": 335.2
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#982086
secondary
#54BF64
accent
#E85940
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982086

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

Preview Lab → · Contrast checker → · Palette generator →

#982086 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva