#982386#982386

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

Color values

HEX#982386
RGBrgb(152, 35, 134)
HSLhsl(309, 63%, 37%)
HSVhsv(309, 77%, 60%)
CMYKcmyk(0%, 77%, 11.8%, 40.4%)
CIE-LABlab(37.12, 57.40, -28.33)
CIE-LCHlch(37.12, 64.01, 333.74°)
OKLaboklab(48.24% 0.1677 -0.0774)
OKLCHoklch(48.24% 0.185 335.2)
XYZxyz(17.8532, 9.6003, 23.4624)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982386 #239835
analogous
#702398 #982386 #98234C
triadic
#982386 #869823 #238698
tetradic
#982386 #987023 #239835 #234C98
square
#982386 #987023 #239835 #234C98
split-complementary
#982386 #4C9823 #239870
monochromatic
#350C2E #66185A #982386 #CA2EB2 #D95CC6

Accessibility & contrast

On white

7.19
#982386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#982386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982386
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982386#FFFFFF#000000##FFFFFF
##9823861.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C89
Deuteranopia (green-blind)
#4E5D83
Tritanopia (blue-blind)
#A02D53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982386;
/* rgb */ color: rgb(152, 35, 134);
/* oklch */ color: oklch(48.2% 0.185 335.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ba9',
    500: '#982386',
    950: '#000000',
  },
}
SCSS
$custom: #982386;
$custom-light: #ba6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#982386",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 309.231,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48239,
    "c": 0.18474,
    "h": 335.2
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#982386
secondary
#59BE68
accent
#E65B42
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982386

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

Preview Lab → · Contrast checker → · Palette generator →

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