#987294#987294

#987294 is a mid, moderate purple. Relative luminance 0.208; OKLCH L 60.1% C 0.068 H 330.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#987294
RGBrgb(152, 114, 148)
HSLhsl(306, 16%, 52%)
HSVhsv(306, 25%, 60%)
CMYKcmyk(0%, 25%, 2.6%, 40.4%)
CIE-LABlab(52.78, 20.91, -12.63)
CIE-LCHlch(52.78, 24.43, 328.86°)
OKLaboklab(60.11% 0.0586 -0.0339)
OKLCHoklch(60.11% 0.068 330)
XYZxyz(24.3110, 20.8489, 30.7548)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987294 #729876
analogous
#897298 #987294 #987281
triadic
#987294 #949872 #729498
tetradic
#987294 #988972 #729876 #728198
square
#987294 #988972 #729876 #728198
split-complementary
#987294 #819872 #729889
monochromatic
#533D51 #765673 #987294 #B295AF #CCB9CA

Accessibility & contrast

On white

4.06
#987294 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#987294 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987294
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987294#FFFFFF#000000##000000
##9872941.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#717B95
Deuteranopia (green-blind)
#798093
Tritanopia (blue-blind)
#9B747E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987294;
/* rgb */ color: rgb(152, 114, 148);
/* oklch */ color: oklch(60.1% 0.068 330.0);
Tailwind
colors: {
  custom: {
    50: '#b69bb3',
    500: '#987294',
    950: '#000000',
  },
}
SCSS
$custom: #987294;
$custom-light: #b69bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#987294",
  "rgb": {
    "r": 152,
    "g": 114,
    "b": 148
  },
  "hsl": {
    "h": 306.316,
    "s": 15.574,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60112,
    "c": 0.06768,
    "h": 330
  },
  "luminance": 0.20848
}

Semantic roles & 50–950 ramp

primary
#987294
secondary
#ABBBAC
accent
#B8776F
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E11
muted
#807E80

Preview Lab

Preview with #987294

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

Preview Lab → · Contrast checker → · Palette generator →

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