#982285#982285

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

Color values

HEX#982285
RGBrgb(152, 34, 133)
HSLhsl(310, 63%, 36%)
HSVhsv(310, 78%, 60%)
CMYKcmyk(0%, 77.6%, 12.5%, 40.4%)
CIE-LABlab(36.96, 57.56, -27.96)
CIE-LCHlch(36.96, 63.99, 334.09°)
OKLaboklab(48.11% 0.1686 -0.0764)
OKLCHoklch(48.11% 0.185 335.6)
XYZxyz(17.7548, 9.5145, 23.0872)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982285 #229835
analogous
#702298 #982285 #98224A
triadic
#982285 #859822 #228598
tetradic
#982285 #987022 #229835 #224A98
square
#982285 #987022 #229835 #224A98
split-complementary
#982285 #4A9822 #229870
monochromatic
#340C2D #661759 #982285 #CA2DB1 #DA5AC6

Accessibility & contrast

On white

7.23
#982285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#982285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982285
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982285#FFFFFF#000000##FFFFFF
##9822851.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C88
Deuteranopia (green-blind)
#4E5D82
Tritanopia (blue-blind)
#A02C52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982285;
/* rgb */ color: rgb(152, 34, 133);
/* oklch */ color: oklch(48.1% 0.185 335.6);
Tailwind
colors: {
  custom: {
    50: '#ba6ba9',
    500: '#982285',
    950: '#000000',
  },
}
SCSS
$custom: #982285;
$custom-light: #ba6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#982285",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 309.661,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48109,
    "c": 0.18506,
    "h": 335.6
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#982285
secondary
#57BE68
accent
#E65C41
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982285

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

Preview Lab → · Contrast checker → · Palette generator →

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