#893297#893297

#893297 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.173 H 321.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#893297
RGBrgb(137, 50, 151)
HSLhsl(292, 50%, 39%)
HSVhsv(292, 67%, 59%)
CMYKcmyk(9.3%, 66.9%, 0%, 40.8%)
CIE-LABlab(37.54, 51.15, -38.22)
CIE-LCHlch(37.54, 63.85, 323.24°)
OKLaboklab(48.37% 0.1357 -0.1066)
OKLCHoklch(48.37% 0.173 321.9)
XYZxyz(17.0424, 9.8348, 30.2728)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893297 #409732
analogous
#573297 #893297 #973273
triadic
#893297 #978932 #329789
tetradic
#893297 #975732 #409732 #327397
square
#893297 #975732 #409732 #327397
split-complementary
#893297 #739732 #329757
monochromatic
#36143B #5F2369 #893297 #B045C1 #C473D1

Accessibility & contrast

On white

7.08
#893297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#893297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #893297
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893297#FFFFFF#000000##FFFFFF
##8932971.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#3E5C94
Tritanopia (blue-blind)
#8B4360
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #893297;
/* rgb */ color: rgb(137, 50, 151);
/* oklch */ color: oklch(48.4% 0.173 321.9);
Tailwind
colors: {
  custom: {
    50: '#ae71b6',
    500: '#893297',
    950: '#000000',
  },
}
SCSS
$custom: #893297;
$custom-light: #ae71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#893297",
  "rgb": {
    "r": 137,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 291.683,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48367,
    "c": 0.17251,
    "h": 321.9
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#893297
secondary
#77B96C
accent
#DA4E61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #893297

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

Preview Lab → · Contrast checker → · Palette generator →

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