#893DB7#893DB7

#893DB7 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.189 H 310.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#893DB7
RGBrgb(137, 61, 183)
HSLhsl(277, 50%, 48%)
HSVhsv(277, 67%, 72%)
CMYKcmyk(25.1%, 66.7%, 0%, 28.2%)
CIE-LABlab(41.34, 52.87, -51.26)
CIE-LCHlch(41.34, 73.64, 315.88°)
OKLaboklab(51.74% 0.1215 -0.1448)
OKLCHoklch(51.74% 0.189 310)
XYZxyz(20.5309, 12.0752, 46.0398)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DB7 #6BB73D
analogous
#4C3DB7 #893DB7 #B73DA8
triadic
#893DB7 #B7893D #3DB789
tetradic
#893DB7 #B74C3D #6BB73D #3DA8B7
square
#893DB7 #B74C3D #6BB73D #3DA8B7
split-complementary
#893DB7 #A8B73D #3DB74C
monochromatic
#441E5B #672E89 #893DB7 #A565CC #C093DB

Accessibility & contrast

On white

6.15
#893DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#893DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DB7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DB7#FFFFFF#000000##FFFFFF
##893DB71.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#2B63B4
Tritanopia (blue-blind)
#835675
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893db7;
/* rgb */ color: rgb(137, 61, 183);
/* oklch */ color: oklch(51.7% 0.189 310.0);
Tailwind
colors: {
  custom: {
    50: '#af78cd',
    500: '#893db7',
    950: '#000000',
  },
}
SCSS
$custom: #893db7;
$custom-light: #af78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#893db7",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 277.377,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.18903,
    "h": 310
  },
  "luminance": 0.12075
}

Semantic roles & 50–950 ramp

primary
#893DB7
secondary
#A0C689
accent
#DA4E83
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #893DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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