#89339D#89339D

#89339D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.177 H 319.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#89339D
RGBrgb(137, 51, 157)
HSLhsl(289, 51%, 41%)
HSVhsv(289, 68%, 62%)
CMYKcmyk(12.7%, 67.5%, 0%, 38.4%)
CIE-LABlab(38.06, 51.90, -41.03)
CIE-LCHlch(38.06, 66.16, 321.67°)
OKLaboklab(48.85% 0.1344 -0.1148)
OKLCHoklch(48.85% 0.177 319.5)
XYZxyz(17.5854, 10.1212, 32.9190)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89339D #479D33
analogous
#54339D #89339D #9D337C
triadic
#89339D #9D8933 #339D89
tetradic
#89339D #9D5433 #479D33 #337C9D
square
#89339D #9D5433 #479D33 #337C9D
split-complementary
#89339D #7C9D33 #339D54
monochromatic
#381541 #61246F #89339D #AD49C4 #C277D3

Accessibility & contrast

On white

6.94
#89339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#89339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #89339D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89339D#FFFFFF#000000##FFFFFF
##89339D1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A0
Deuteranopia (green-blind)
#3B5D9A
Tritanopia (blue-blind)
#894664
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #89339d;
/* rgb */ color: rgb(137, 51, 157);
/* oklch */ color: oklch(48.9% 0.177 319.5);
Tailwind
colors: {
  custom: {
    50: '#af72ba',
    500: '#89339d',
    950: '#000000',
  },
}
SCSS
$custom: #89339d;
$custom-light: #af72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#89339d",
  "rgb": {
    "r": 137,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 288.679,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48854,
    "c": 0.17674,
    "h": 319.5
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#89339D
secondary
#7FBB70
accent
#DA4D68
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #89339D

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

Preview Lab → · Contrast checker → · Palette generator →

#89339D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva