#893AD7#893AD7

#893AD7 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.225 H 302.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#893AD7
RGBrgb(137, 58, 215)
HSLhsl(270, 66%, 54%)
HSVhsv(270, 73%, 84%)
CMYKcmyk(36.3%, 73%, 0%, 15.7%)
CIE-LABlab(43.14, 61.53, -66.93)
CIE-LCHlch(43.14, 90.91, 312.59°)
OKLaboklab(53.74% 0.1199 -0.1908)
OKLCHoklch(53.74% 0.225 302.2)
XYZxyz(24.0924, 13.2507, 65.5652)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893AD7 #88D73A
analogous
#3A3AD7 #893AD7 #D73AD7
triadic
#893AD7 #D7893A #3AD789
tetradic
#893AD7 #D73A3A #88D73A #3AD7D7
square
#893AD7 #D73A3A #88D73A #3AD7D7
split-complementary
#893AD7 #D7D73A #3AD73A
monochromatic
#4C197D #6A24B0 #893AD7 #A76DE1 #C6A0EC

Accessibility & contrast

On white

5.75
#893AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#893AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893AD7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893AD7#FFFFFF#000000##FFFFFF
##893AD71.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#786186
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #893ad7;
/* rgb */ color: rgb(137, 58, 215);
/* oklch */ color: oklch(53.7% 0.225 302.2);
Tailwind
colors: {
  custom: {
    50: '#b277e4',
    500: '#893ad7',
    950: '#000000',
  },
}
SCSS
$custom: #893ad7;
$custom-light: #b277e4;
$custom-dark: #000000;
JSON
{
  "hex": "#893ad7",
  "rgb": {
    "r": 137,
    "g": 58,
    "b": 215
  },
  "hsl": {
    "h": 270.191,
    "s": 66.245,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5374,
    "c": 0.22539,
    "h": 302.2
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

primary
#893AD7
secondary
#B6D895
accent
#E93F93
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #893AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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