#893FB2#893FB2

#893FB2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.181 H 311.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#893FB2
RGBrgb(137, 63, 178)
HSLhsl(279, 48%, 47%)
HSVhsv(279, 65%, 70%)
CMYKcmyk(23%, 64.6%, 0%, 30.2%)
CIE-LABlab(41.36, 50.81, -48.28)
CIE-LCHlch(41.36, 70.09, 316.46°)
OKLaboklab(51.65% 0.1195 -0.1361)
OKLCHoklch(51.65% 0.181 311.3)
XYZxyz(20.1284, 12.0882, 43.3838)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FB2 #68B23F
analogous
#503FB2 #893FB2 #B23FA1
triadic
#893FB2 #B2893F #3FB289
tetradic
#893FB2 #B2503F #68B23F #3FA1B2
square
#893FB2 #B2503F #68B23F #3FA1B2
split-complementary
#893FB2 #A1B23F #3FB250
monochromatic
#431F58 #662F85 #893FB2 #A566C9 #C093D9

Accessibility & contrast

On white

6.14
#893FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #893FB2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FB2#FFFFFF#000000##FFFFFF
##893FB21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#845673
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #893fb2;
/* rgb */ color: rgb(137, 63, 178);
/* oklch */ color: oklch(51.6% 0.181 311.3);
Tailwind
colors: {
  custom: {
    50: '#af79ca',
    500: '#893fb2',
    950: '#000000',
  },
}
SCSS
$custom: #893fb2;
$custom-light: #af79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#893fb2",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 278.609,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51648,
    "c": 0.1811,
    "h": 311.3
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#893FB2
secondary
#9EC489
accent
#D75081
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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