#89338F#89338F

#89338F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.0% C 0.164 H 325.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#89338F
RGBrgb(137, 51, 143)
HSLhsl(296, 47%, 38%)
HSVhsv(296, 64%, 56%)
CMYKcmyk(4.2%, 64.3%, 0%, 43.9%)
CIE-LABlab(37.24, 49.19, -33.82)
CIE-LCHlch(37.24, 59.69, 325.49°)
OKLaboklab(48% 0.1343 -0.0938)
OKLCHoklch(48% 0.164 325.1)
XYZxyz(16.4579, 9.6702, 26.9809)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89338F #398F33
analogous
#5B338F #89338F #8F3367
triadic
#89338F #8F8933 #338F89
tetradic
#89338F #8F5B33 #398F33 #33678F
square
#89338F #8F5B33 #398F33 #33678F
split-complementary
#89338F #678F33 #338F5B
monochromatic
#331335 #5E2362 #89338F #B443BC #C670CC

Accessibility & contrast

On white

7.16
#89338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#89338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89338F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89338F#FFFFFF#000000##FFFFFF
##89338F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#445B8D
Tritanopia (blue-blind)
#8C405C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #89338f;
/* rgb */ color: rgb(137, 51, 143);
/* oklch */ color: oklch(48.0% 0.164 325.1);
Tailwind
colors: {
  custom: {
    50: '#ae71b0',
    500: '#89338f',
    950: '#000000',
  },
}
SCSS
$custom: #89338f;
$custom-light: #ae71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#89338f",
  "rgb": {
    "r": 137,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 296.087,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48002,
    "c": 0.16378,
    "h": 325.1
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#89338F
secondary
#6FB46A
accent
#D7515A
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #89338F

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

Preview Lab → · Contrast checker → · Palette generator →

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