#89338B#89338B

#89338B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.160 H 326.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#89338B
RGBrgb(137, 51, 139)
HSLhsl(299, 46%, 37%)
HSVhsv(299, 63%, 55%)
CMYKcmyk(1.4%, 63.3%, 0%, 45.5%)
CIE-LABlab(37.02, 48.44, -31.72)
CIE-LCHlch(37.02, 57.90, 326.78°)
OKLaboklab(47.77% 0.1341 -0.0877)
OKLCHoklch(47.77% 0.16 326.8)
XYZxyz(16.1603, 9.5511, 25.4135)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89338B #358B33
analogous
#5D338B #89338B #8B3361
triadic
#89338B #8B8933 #338B89
tetradic
#89338B #8B5D33 #358B33 #33618B
square
#89338B #8B5D33 #358B33 #33618B
split-complementary
#89338B #618B33 #338B5D
monochromatic
#311231 #5D235E #89338B #B543B8 #C86ECA

Accessibility & contrast

On white

7.22
#89338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#89338B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89338B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89338B#FFFFFF#000000##FFFFFF
##89338B1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#465B89
Tritanopia (blue-blind)
#8D3F5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #89338b;
/* rgb */ color: rgb(137, 51, 139);
/* oklch */ color: oklch(47.8% 0.160 326.8);
Tailwind
colors: {
  custom: {
    50: '#ae71ad',
    500: '#89338b',
    950: '#000000',
  },
}
SCSS
$custom: #89338b;
$custom-light: #ae71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#89338b",
  "rgb": {
    "r": 137,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 298.636,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47772,
    "c": 0.16018,
    "h": 326.8
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#89338B
secondary
#6AB268
accent
#D65255
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #89338B

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

Preview Lab → · Contrast checker → · Palette generator →

#89338B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva