#893FB5#893FB5

#893FB5 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.184 H 310.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#893FB5
RGBrgb(137, 63, 181)
HSLhsl(278, 48%, 48%)
HSVhsv(278, 65%, 71%)
CMYKcmyk(24.3%, 65.2%, 0%, 29%)
CIE-LABlab(41.55, 51.47, -49.74)
CIE-LCHlch(41.55, 71.58, 315.98°)
OKLaboklab(51.85% 0.1193 -0.1404)
OKLCHoklch(51.85% 0.184 310.4)
XYZxyz(20.4329, 12.2100, 44.9875)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FB5 #6BB53F
analogous
#4E3FB5 #893FB5 #B53FA6
triadic
#893FB5 #B5893F #3FB589
tetradic
#893FB5 #B54E3F #6BB53F #3FA6B5
square
#893FB5 #B54E3F #6BB53F #3FA6B5
split-complementary
#893FB5 #A6B53F #3FB54E
monochromatic
#441F5A #672F88 #893FB5 #A567CA #C094DA

Accessibility & contrast

On white

6.10
#893FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#893FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FB5
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FB5#FFFFFF#000000##FFFFFF
##893FB51.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#3063B2
Tritanopia (blue-blind)
#835774
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #893fb5;
/* rgb */ color: rgb(137, 63, 181);
/* oklch */ color: oklch(51.8% 0.184 310.4);
Tailwind
colors: {
  custom: {
    50: '#af79cc',
    500: '#893fb5',
    950: '#000000',
  },
}
SCSS
$custom: #893fb5;
$custom-light: #af79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#893fb5",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 277.627,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51848,
    "c": 0.18424,
    "h": 310.4
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#893FB5
secondary
#A0C58A
accent
#D85083
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #893FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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