#893DB2#893DB2

#893DB2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.184 H 311.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#893DB2
RGBrgb(137, 61, 178)
HSLhsl(279, 49%, 47%)
HSVhsv(279, 66%, 70%)
CMYKcmyk(23%, 65.7%, 0%, 30.2%)
CIE-LABlab(41.01, 51.76, -48.84)
CIE-LCHlch(41.01, 71.16, 316.67°)
OKLaboklab(51.4% 0.1219 -0.1377)
OKLCHoklch(51.4% 0.184 311.5)
XYZxyz(20.0197, 11.8707, 43.3475)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DB2 #66B23D
analogous
#4E3DB2 #893DB2 #B23DA1
triadic
#893DB2 #B2893D #3DB289
tetradic
#893DB2 #B24E3D #66B23D #3DA1B2
square
#893DB2 #B24E3D #66B23D #3DA1B2
split-complementary
#893DB2 #A1B23D #3DB24E
monochromatic
#431E57 #662D84 #893DB2 #A563C9 #C090D9

Accessibility & contrast

On white

6.22
#893DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #893DB2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DB2#FFFFFF#000000##FFFFFF
##893DB21.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3162AF
Tritanopia (blue-blind)
#845472
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893db2;
/* rgb */ color: rgb(137, 61, 178);
/* oklch */ color: oklch(51.4% 0.184 311.5);
Tailwind
colors: {
  custom: {
    50: '#af78ca',
    500: '#893db2',
    950: '#000000',
  },
}
SCSS
$custom: #893db2;
$custom-light: #af78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#893db2",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 278.974,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51399,
    "c": 0.18386,
    "h": 311.5
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#893DB2
secondary
#9CC487
accent
#D94F7F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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