#893FB4#893FB4

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

Color values

HEX#893FB4
RGBrgb(137, 63, 180)
HSLhsl(278, 48%, 48%)
HSVhsv(278, 65%, 71%)
CMYKcmyk(23.9%, 65%, 0%, 29.4%)
CIE-LABlab(41.48, 51.25, -49.26)
CIE-LCHlch(41.48, 71.08, 316.14°)
OKLaboklab(51.78% 0.1194 -0.1389)
OKLCHoklch(51.78% 0.183 310.7)
XYZxyz(20.3307, 12.1691, 44.4490)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FB4 #6AB43F
analogous
#4F3FB4 #893FB4 #B43FA4
triadic
#893FB4 #B4893F #3FB489
tetradic
#893FB4 #B44F3F #6AB43F #3FA4B4
square
#893FB4 #B44F3F #6AB43F #3FA4B4
split-complementary
#893FB4 #A4B43F #3FB44F
monochromatic
#441F59 #662F87 #893FB4 #A567CA #C094DA

Accessibility & contrast

On white

6.12
#893FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#893FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FB4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FB4#FFFFFF#000000##FFFFFF
##893FB41.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#835674
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #893fb4;
/* rgb */ color: rgb(137, 63, 180);
/* oklch */ color: oklch(51.8% 0.183 310.7);
Tailwind
colors: {
  custom: {
    50: '#af79cb',
    500: '#893fb4',
    950: '#000000',
  },
}
SCSS
$custom: #893fb4;
$custom-light: #af79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#893fb4",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 277.949,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.18318,
    "h": 310.7
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #893FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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