#985291#985291

#985291 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.4% C 0.125 H 330.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#985291
RGBrgb(152, 82, 145)
HSLhsl(306, 30%, 46%)
HSVhsv(306, 46%, 60%)
CMYKcmyk(0%, 46.1%, 4.6%, 40.4%)
CIE-LABlab(45.30, 38.43, -22.28)
CIE-LCHlch(45.30, 44.42, 329.89°)
OKLaboklab(54.41% 0.1088 -0.0606)
OKLCHoklch(54.41% 0.125 330.9)
XYZxyz(21.0768, 14.7555, 28.5205)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985291 #529859
analogous
#7C5298 #985291 #98526E
triadic
#985291 #919852 #529198
tetradic
#985291 #987C52 #529859 #526E98
square
#985291 #987C52 #529859 #526E98
split-complementary
#985291 #6E9852 #52987C
monochromatic
#482745 #703D6B #985291 #B473AD #C99BC5

Accessibility & contrast

On white

5.32
#985291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#985291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985291
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985291#FFFFFF#000000##FFFFFF
##9852911.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6593
Deuteranopia (green-blind)
#626F8F
Tritanopia (blue-blind)
#9D576B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #985291;
/* rgb */ color: rgb(152, 82, 145);
/* oklch */ color: oklch(54.4% 0.125 330.9);
Tailwind
colors: {
  custom: {
    50: '#b885b1',
    500: '#985291',
    950: '#000000',
  },
}
SCSS
$custom: #985291;
$custom-light: #b885b1;
$custom-dark: #000000;
JSON
{
  "hex": "#985291",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 306,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54407,
    "c": 0.12457,
    "h": 330.9
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#985291
secondary
#90B693
accent
#C66C62
background
#FBF8FA
surface
#F6EFF5
border
#D0CACF
text
#110B10
muted
#807C7F

Preview Lab

Preview with #985291

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

Preview Lab → · Contrast checker → · Palette generator →

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