#982286#982286

#982286 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.186 H 335.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#982286
RGBrgb(152, 34, 134)
HSLhsl(309, 63%, 36%)
HSVhsv(309, 78%, 60%)
CMYKcmyk(0%, 77.6%, 11.8%, 40.4%)
CIE-LABlab(37.01, 57.71, -28.49)
CIE-LCHlch(37.01, 64.36, 333.72°)
OKLaboklab(48.16% 0.1687 -0.0779)
OKLCHoklch(48.16% 0.186 335.2)
XYZxyz(17.8242, 9.5423, 23.4527)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982286 #229834
analogous
#6F2298 #982286 #98224B
triadic
#982286 #869822 #228698
tetradic
#982286 #986F22 #229834 #224B98
square
#982286 #986F22 #229834 #224B98
split-complementary
#982286 #4B9822 #22986F
monochromatic
#340C2E #66175A #982286 #CA2DB2 #DA5AC7

Accessibility & contrast

On white

7.22
#982286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#982286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982286
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982286#FFFFFF#000000##FFFFFF
##9822861.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#4D5D83
Tritanopia (blue-blind)
#A02C52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982286;
/* rgb */ color: rgb(152, 34, 134);
/* oklch */ color: oklch(48.2% 0.186 335.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ba9',
    500: '#982286',
    950: '#000000',
  },
}
SCSS
$custom: #982286;
$custom-light: #ba6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#982286",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 309.153,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.18577,
    "h": 335.2
  },
  "luminance": 0.09541
}

Semantic roles & 50–950 ramp

primary
#982286
secondary
#57BE67
accent
#E65B41
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982286

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

Preview Lab → · Contrast checker → · Palette generator →

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