#893EB4#893EB4

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

Color values

HEX#893EB4
RGBrgb(137, 62, 180)
HSLhsl(278, 49%, 47%)
HSVhsv(278, 66%, 71%)
CMYKcmyk(23.9%, 65.6%, 0%, 29.4%)
CIE-LABlab(41.31, 51.73, -49.53)
CIE-LCHlch(41.31, 71.62, 316.24°)
OKLaboklab(51.66% 0.1206 -0.1398)
OKLCHoklch(51.66% 0.185 310.8)
XYZxyz(20.2758, 12.0594, 44.4307)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EB4 #69B43E
analogous
#4E3EB4 #893EB4 #B43EA4
triadic
#893EB4 #B4893E #3EB489
tetradic
#893EB4 #B44E3E #69B43E #3EA4B4
square
#893EB4 #B44E3E #69B43E #3EA4B4
split-complementary
#893EB4 #A4B43E #3EB44E
monochromatic
#441F59 #662E86 #893EB4 #A565CA #C093DA

Accessibility & contrast

On white

6.16
#893EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#893EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EB4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EB4#FFFFFF#000000##FFFFFF
##893EB41.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #893eb4;
/* rgb */ color: rgb(137, 62, 180);
/* oklch */ color: oklch(51.7% 0.185 310.8);
Tailwind
colors: {
  custom: {
    50: '#af78cb',
    500: '#893eb4',
    950: '#000000',
  },
}
SCSS
$custom: #893eb4;
$custom-light: #af78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#893eb4",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 278.136,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51656,
    "c": 0.18457,
    "h": 310.8
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

primary
#893EB4
secondary
#9FC589
accent
#D84F81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #893EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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