#985295#985295

#985295 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 54.6% C 0.128 H 328.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#985295
RGBrgb(152, 82, 149)
HSLhsl(303, 30%, 46%)
HSVhsv(303, 46%, 60%)
CMYKcmyk(0%, 46.1%, 2%, 40.4%)
CIE-LABlab(45.47, 39.17, -24.41)
CIE-LCHlch(45.47, 46.16, 328.07°)
OKLaboklab(54.59% 0.1097 -0.0666)
OKLCHoklch(54.59% 0.128 328.7)
XYZxyz(21.3907, 14.8810, 30.1736)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985295 #529855
analogous
#785298 #985295 #985272
triadic
#985295 #959852 #529598
tetradic
#985295 #987852 #529855 #527298
square
#985295 #987852 #529855 #527298
split-complementary
#985295 #729852 #529878
monochromatic
#482747 #703D6E #985295 #B473B1 #C99BC7

Accessibility & contrast

On white

5.28
#985295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#985295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985295
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985295#FFFFFF#000000##FFFFFF
##9852951.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6697
Deuteranopia (green-blind)
#616F93
Tritanopia (blue-blind)
#9C586C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #985295;
/* rgb */ color: rgb(152, 82, 149);
/* oklch */ color: oklch(54.6% 0.128 328.7);
Tailwind
colors: {
  custom: {
    50: '#b885b4',
    500: '#985295',
    950: '#000000',
  },
}
SCSS
$custom: #985295;
$custom-light: #b885b4;
$custom-dark: #000000;
JSON
{
  "hex": "#985295",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 302.571,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.12837,
    "h": 328.7
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

primary
#985295
secondary
#90B691
accent
#C66662
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #985295

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

Preview Lab → · Contrast checker → · Palette generator →

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