#89317E#89317E

#89317E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.8% C 0.152 H 333.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#89317E
RGBrgb(137, 49, 126)
HSLhsl(308, 47%, 36%)
HSVhsv(308, 64%, 54%)
CMYKcmyk(0%, 64.2%, 8%, 46.3%)
CIE-LABlab(36.03, 47.03, -25.25)
CIE-LCHlch(36.03, 53.38, 331.76°)
OKLaboklab(46.83% 0.1353 -0.069)
OKLCHoklch(46.83% 0.152 333)
XYZxyz(15.1808, 9.0225, 20.6766)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89317E #31893C
analogous
#683189 #89317E #893152
triadic
#89317E #7E8931 #317E89
tetradic
#89317E #896831 #31893C #315289
square
#89317E #896831 #31893C #315289
split-complementary
#89317E #528931 #318968
monochromatic
#2F112B #5C2155 #89317E #B641A7 #CA6BBE

Accessibility & contrast

On white

7.49
#89317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#89317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89317E
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89317E#FFFFFF#000000##FFFFFF
##89317E1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#4B597C
Tritanopia (blue-blind)
#8F3853
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #89317e;
/* rgb */ color: rgb(137, 49, 126);
/* oklch */ color: oklch(46.8% 0.152 333.0);
Tailwind
colors: {
  custom: {
    50: '#ae6fa3',
    500: '#89317e',
    950: '#000000',
  },
}
SCSS
$custom: #89317e;
$custom-light: #ae6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#89317e",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 307.5,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46827,
    "c": 0.15191,
    "h": 333
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#89317E
secondary
#64B16E
accent
#D76251
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #89317E

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

Preview Lab → · Contrast checker → · Palette generator →

#89317E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva