#893FB6#893FB6

#893FB6 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.185 H 310.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#893FB6
RGBrgb(137, 63, 182)
HSLhsl(277, 49%, 48%)
HSVhsv(277, 65%, 71%)
CMYKcmyk(24.7%, 65.4%, 0%, 28.6%)
CIE-LABlab(41.61, 51.70, -50.23)
CIE-LCHlch(41.61, 72.08, 315.83°)
OKLaboklab(51.92% 0.1193 -0.1418)
OKLCHoklch(51.92% 0.185 310.1)
XYZxyz(20.5359, 12.2512, 45.5298)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FB6 #6CB63F
analogous
#4E3FB6 #893FB6 #B63FA7
triadic
#893FB6 #B6893F #3FB689
tetradic
#893FB6 #B64E3F #6CB63F #3FA7B6
square
#893FB6 #B64E3F #6CB63F #3FA7B6
split-complementary
#893FB6 #A7B63F #3FB64E
monochromatic
#45205B #672F89 #893FB6 #A568CB #C095DA

Accessibility & contrast

On white

6.09
#893FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#893FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FB6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FB6#FFFFFF#000000##FFFFFF
##893FB61.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#2F63B3
Tritanopia (blue-blind)
#835775
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #893fb6;
/* rgb */ color: rgb(137, 63, 182);
/* oklch */ color: oklch(51.9% 0.185 310.1);
Tailwind
colors: {
  custom: {
    50: '#af79cc',
    500: '#893fb6',
    950: '#000000',
  },
}
SCSS
$custom: #893fb6;
$custom-light: #af79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#893fb6",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 277.311,
    "s": 48.571,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51916,
    "c": 0.18528,
    "h": 310.1
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #893FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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