#893DB4#893DB4

#893DB4 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.186 H 310.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#893DB4
RGBrgb(137, 61, 180)
HSLhsl(278, 49%, 47%)
HSVhsv(278, 66%, 71%)
CMYKcmyk(23.9%, 66.1%, 0%, 29.4%)
CIE-LABlab(41.14, 52.20, -49.81)
CIE-LCHlch(41.14, 72.15, 316.34°)
OKLaboklab(51.53% 0.1217 -0.1405)
OKLCHoklch(51.53% 0.186 310.9)
XYZxyz(20.2219, 11.9516, 44.4128)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DB4 #68B43D
analogous
#4D3DB4 #893DB4 #B43DA4
triadic
#893DB4 #B4893D #3DB489
tetradic
#893DB4 #B44D3D #68B43D #3DA4B4
square
#893DB4 #B44D3D #68B43D #3DA4B4
split-complementary
#893DB4 #A4B43D #3DB44D
monochromatic
#431E59 #662E86 #893DB4 #A564CA #C092DA

Accessibility & contrast

On white

6.19
#893DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#893DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DB4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DB4#FFFFFF#000000##FFFFFF
##893DB41.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#2F62B1
Tritanopia (blue-blind)
#845573
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893db4;
/* rgb */ color: rgb(137, 61, 180);
/* oklch */ color: oklch(51.5% 0.186 310.9);
Tailwind
colors: {
  custom: {
    50: '#af78cb',
    500: '#893db4',
    950: '#000000',
  },
}
SCSS
$custom: #893db4;
$custom-light: #af78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#893db4",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 278.319,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.18594,
    "h": 310.9
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#893DB4
secondary
#9EC588
accent
#D94F81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #893DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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