#893F8D#893F8D

#893F8D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.4% C 0.143 H 325.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#893F8D
RGBrgb(137, 63, 141)
HSLhsl(297, 38%, 40%)
HSVhsv(297, 55%, 55%)
CMYKcmyk(2.8%, 55.3%, 0%, 44.7%)
CIE-LABlab(39.24, 43.08, -29.46)
CIE-LCHlch(39.24, 52.19, 325.63°)
OKLaboklab(49.42% 0.1182 -0.0812)
OKLCHoklch(49.42% 0.143 325.5)
XYZxyz(16.9014, 10.7974, 26.3880)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893F8D #438D3F
analogous
#623F8D #893F8D #8D3F6A
triadic
#893F8D #8D893F #3F8D89
tetradic
#893F8D #8D623F #438D3F #3F6A8D
square
#893F8D #8D623F #438D3F #3F6A8D
split-complementary
#893F8D #6A8D3F #3F8D62
monochromatic
#371938 #602C63 #893F8D #AF56B3 #C380C6

Accessibility & contrast

On white

6.65
#893F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#893F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893F8D
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893F8D#FFFFFF#000000##FFFFFF
##893F8D1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355690
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#8C4960
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #893f8d;
/* rgb */ color: rgb(137, 63, 141);
/* oklch */ color: oklch(49.4% 0.143 325.5);
Tailwind
colors: {
  custom: {
    50: '#ae78ae',
    500: '#893f8d',
    950: '#000000',
  },
}
SCSS
$custom: #893f8d;
$custom-light: #ae78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#893f8d",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 296.923,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.49422,
    "c": 0.14342,
    "h": 325.5
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#893F8D
secondary
#7AB177
accent
#CE5A60
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #893F8D

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

Preview Lab → · Contrast checker → · Palette generator →

#893F8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva