#89229F#89229F

#89229F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.198 H 319.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#89229F
RGBrgb(137, 34, 159)
HSLhsl(289, 65%, 38%)
HSVhsv(289, 79%, 62%)
CMYKcmyk(13.8%, 78.6%, 0%, 37.6%)
CIE-LABlab(35.92, 58.72, -45.66)
CIE-LCHlch(35.92, 74.39, 322.13°)
OKLaboklab(47.37% 0.1513 -0.1282)
OKLCHoklch(47.37% 0.198 319.7)
XYZxyz(17.1458, 8.9665, 33.6217)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89229F #389F22
analogous
#4A229F #89229F #9F2276
triadic
#89229F #9F8922 #229F89
tetradic
#89229F #9F4A22 #389F22 #22769F
square
#89229F #9F4A22 #389F22 #22769F
split-complementary
#89229F #769F22 #229F4A
monochromatic
#320C3A #5E176D #89229F #B42DD1 #C75FDD

Accessibility & contrast

On white

7.52
#89229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#89229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89229F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89229F#FFFFFF#000000##FFFFFF
##89229F1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#2D589C
Tritanopia (blue-blind)
#893D60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #89229f;
/* rgb */ color: rgb(137, 34, 159);
/* oklch */ color: oklch(47.4% 0.198 319.7);
Tailwind
colors: {
  custom: {
    50: '#af6abc',
    500: '#89229f',
    950: '#000000',
  },
}
SCSS
$custom: #89229f;
$custom-light: #af6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#89229f",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 289.44,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47369,
    "c": 0.19831,
    "h": 319.7
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#89229F
secondary
#6DC15B
accent
#E8405E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #89229F

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

Preview Lab → · Contrast checker → · Palette generator →

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