#981789#981789

#981789 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.198 H 333.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#981789
RGBrgb(152, 23, 137)
HSLhsl(307, 74%, 34%)
HSVhsv(307, 85%, 60%)
CMYKcmyk(0%, 84.9%, 9.9%, 40.4%)
CIE-LABlab(36.17, 61.04, -31.67)
CIE-LCHlch(36.17, 68.77, 332.58°)
OKLaboklab(47.61% 0.1773 -0.087)
OKLCHoklch(47.61% 0.198 333.9)
XYZxyz(17.7708, 9.0960, 24.4818)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981789 #179826
analogous
#671798 #981789 #981749
triadic
#981789 #899817 #178998
tetradic
#981789 #986717 #179826 #174998
square
#981789 #986717 #179826 #174998
split-complementary
#981789 #499817 #179867
monochromatic
#2E0729 #630F59 #981789 #CD1FB9 #E346D1

Accessibility & contrast

On white

7.45
#981789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#981789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981789
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981789#FFFFFF#000000##FFFFFF
##9817891.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498C
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#9F2752
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981789;
/* rgb */ color: rgb(152, 23, 137);
/* oklch */ color: oklch(47.6% 0.198 333.9);
Tailwind
colors: {
  custom: {
    50: '#ba67ac',
    500: '#981789',
    950: '#000000',
  },
}
SCSS
$custom: #981789;
$custom-light: #ba67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#981789",
  "rgb": {
    "r": 152,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 306.977,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.1975,
    "h": 333.9
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#981789
secondary
#47C455
accent
#F04D37
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981789

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

Preview Lab → · Contrast checker → · Palette generator →

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