#893197#893197

#893197 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.174 H 321.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#893197
RGBrgb(137, 49, 151)
HSLhsl(292, 51%, 39%)
HSVhsv(292, 68%, 59%)
CMYKcmyk(9.3%, 67.5%, 0%, 40.8%)
CIE-LABlab(37.39, 51.58, -38.46)
CIE-LCHlch(37.39, 64.34, 323.29°)
OKLaboklab(48.26% 0.1368 -0.1073)
OKLCHoklch(48.26% 0.174 321.9)
XYZxyz(17.0002, 9.7503, 30.2587)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893197 #3F9731
analogous
#563197 #893197 #973172
triadic
#893197 #978931 #319789
tetradic
#893197 #975631 #3F9731 #317297
square
#893197 #975631 #3F9731 #317297
split-complementary
#893197 #729731 #319756
monochromatic
#35133B #5F2269 #893197 #B143C2 #C471D1

Accessibility & contrast

On white

7.12
#893197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#893197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #893197
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893197#FFFFFF#000000##FFFFFF
##8931971.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529A
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#8B4260
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #893197;
/* rgb */ color: rgb(137, 49, 151);
/* oklch */ color: oklch(48.3% 0.174 321.9);
Tailwind
colors: {
  custom: {
    50: '#ae70b6',
    500: '#893197',
    950: '#000000',
  },
}
SCSS
$custom: #893197;
$custom-light: #ae70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#893197",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 291.765,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.17385,
    "h": 321.9
  },
  "luminance": 0.09749
}

Semantic roles & 50–950 ramp

primary
#893197
secondary
#76B96B
accent
#DA4D61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #893197

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

Preview Lab → · Contrast checker → · Palette generator →

#893197 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva