#985299#985299

#985299 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.8% C 0.132 H 326.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#985299
RGBrgb(152, 82, 153)
HSLhsl(299, 30%, 46%)
HSVhsv(299, 46%, 60%)
CMYKcmyk(0.7%, 46.4%, 0%, 40%)
CIE-LABlab(45.65, 39.94, -26.52)
CIE-LCHlch(45.65, 47.94, 326.41°)
OKLaboklab(54.79% 0.1105 -0.0727)
OKLCHoklch(54.79% 0.132 326.7)
XYZxyz(21.7155, 15.0110, 31.8844)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985299 #539952
analogous
#745299 #985299 #995276
triadic
#985299 #999852 #529998
tetradic
#985299 #997452 #539952 #527699
square
#985299 #997452 #539952 #527699
split-complementary
#985299 #769952 #529974
monochromatic
#492749 #703D71 #985299 #B374B4 #C99CCA

Accessibility & contrast

On white

5.25
#985299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#985299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985299
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985299#FFFFFF#000000##FFFFFF
##9852991.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C669B
Deuteranopia (green-blind)
#5F6F97
Tritanopia (blue-blind)
#9C596E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #985299;
/* rgb */ color: rgb(152, 82, 153);
/* oklch */ color: oklch(54.8% 0.132 326.7);
Tailwind
colors: {
  custom: {
    50: '#b885b7',
    500: '#985299',
    950: '#000000',
  },
}
SCSS
$custom: #985299;
$custom-light: #b885b7;
$custom-dark: #000000;
JSON
{
  "hex": "#985299",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 299.155,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.13226,
    "h": 326.7
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

primary
#985299
secondary
#91B790
accent
#C66163
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #985299

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

Preview Lab → · Contrast checker → · Palette generator →

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