#982087#982087

#982087 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.188 H 334.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#982087
RGBrgb(152, 32, 135)
HSLhsl(309, 65%, 36%)
HSVhsv(309, 79%, 60%)
CMYKcmyk(0%, 78.9%, 11.2%, 40.4%)
CIE-LABlab(36.85, 58.45, -29.35)
CIE-LCHlch(36.85, 65.41, 333.33°)
OKLaboklab(48.07% 0.1705 -0.0804)
OKLCHoklch(48.07% 0.188 334.8)
XYZxyz(17.8388, 9.4593, 23.8033)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982087 #209831
analogous
#6D2098 #982087 #98204B
triadic
#982087 #879820 #208798
tetradic
#982087 #986D20 #209831 #204B98
square
#982087 #986D20 #209831 #204B98
split-complementary
#982087 #4B9820 #20986D
monochromatic
#330B2D #65155A #982087 #CB2BB4 #DC57C9

Accessibility & contrast

On white

7.26
#982087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982087
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982087#FFFFFF#000000##FFFFFF
##9820871.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8A
Deuteranopia (green-blind)
#4C5D84
Tritanopia (blue-blind)
#A02B52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982087;
/* rgb */ color: rgb(152, 32, 135);
/* oklch */ color: oklch(48.1% 0.188 334.8);
Tailwind
colors: {
  custom: {
    50: '#ba6aaa',
    500: '#982087',
    950: '#000000',
  },
}
SCSS
$custom: #982087;
$custom-light: #ba6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#982087",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 308.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48069,
    "c": 0.18846,
    "h": 334.8
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #982087

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

Preview Lab → · Contrast checker → · Palette generator →

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