#893DB1#893DB1

#893DB1 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.183 H 311.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#893DB1
RGBrgb(137, 61, 177)
HSLhsl(279, 49%, 47%)
HSVhsv(279, 66%, 69%)
CMYKcmyk(22.6%, 65.5%, 0%, 30.6%)
CIE-LABlab(40.95, 51.54, -48.35)
CIE-LCHlch(40.95, 70.67, 316.83°)
OKLaboklab(51.33% 0.1219 -0.1363)
OKLCHoklch(51.33% 0.183 311.8)
XYZxyz(19.9196, 11.8307, 42.8207)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DB1 #65B13D
analogous
#4F3DB1 #893DB1 #B13D9F
triadic
#893DB1 #B1893D #3DB189
tetradic
#893DB1 #B14F3D #65B13D #3D9FB1
square
#893DB1 #B14F3D #65B13D #3D9FB1
split-complementary
#893DB1 #9FB13D #3DB14F
monochromatic
#431E56 #662D83 #893DB1 #A662C9 #C090D9

Accessibility & contrast

On white

6.24
#893DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#893DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DB1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DB1#FFFFFF#000000##FFFFFF
##893DB11.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#3262AE
Tritanopia (blue-blind)
#845472
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893db1;
/* rgb */ color: rgb(137, 61, 177);
/* oklch */ color: oklch(51.3% 0.183 311.8);
Tailwind
colors: {
  custom: {
    50: '#af78c9',
    500: '#893db1',
    950: '#000000',
  },
}
SCSS
$custom: #893db1;
$custom-light: #af78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#893db1",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 279.31,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.18284,
    "h": 311.8
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#893DB1
secondary
#9BC486
accent
#D8507F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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