#982887#982887

#982887 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.180 H 334.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#982887
RGBrgb(152, 40, 135)
HSLhsl(309, 58%, 38%)
HSVhsv(309, 74%, 60%)
CMYKcmyk(0%, 73.7%, 11.2%, 40.4%)
CIE-LABlab(37.74, 55.92, -27.96)
CIE-LCHlch(37.74, 62.52, 333.43°)
OKLaboklab(48.71% 0.163 -0.0764)
OKLCHoklch(48.71% 0.18 334.9)
XYZxyz(18.0811, 9.9438, 23.8841)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982887 #289839
analogous
#712898 #982887 #98284F
triadic
#982887 #879828 #288798
tetradic
#982887 #987128 #289839 #284F98
square
#982887 #987128 #289839 #284F98
split-complementary
#982887 #4F9828 #289871
monochromatic
#370F31 #681B5C #982887 #C835B2 #D664C5

Accessibility & contrast

On white

7.03
#982887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#982887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982887
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982887#FFFFFF#000000##FFFFFF
##9828871.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#A03155
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982887;
/* rgb */ color: rgb(152, 40, 135);
/* oklch */ color: oklch(48.7% 0.180 334.9);
Tailwind
colors: {
  custom: {
    50: '#ba6daa',
    500: '#982887',
    950: '#000000',
  },
}
SCSS
$custom: #982887;
$custom-light: #ba6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#982887",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 309.107,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48707,
    "c": 0.17999,
    "h": 334.9
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#982887
secondary
#60BC6E
accent
#E25E46
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982887

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

Preview Lab → · Contrast checker → · Palette generator →

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