#893EB9#893EB9

#893EB9 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.190 H 309.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#893EB9
RGBrgb(137, 62, 185)
HSLhsl(277, 50%, 48%)
HSVhsv(277, 66%, 73%)
CMYKcmyk(25.9%, 66.5%, 0%, 27.5%)
CIE-LABlab(41.64, 52.85, -51.95)
CIE-LCHlch(41.64, 74.10, 315.49°)
OKLaboklab(52% 0.1202 -0.1468)
OKLCHoklch(52% 0.19 309.3)
XYZxyz(20.7944, 12.2668, 47.1618)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EB9 #6EB93E
analogous
#4B3EB9 #893EB9 #B93EAB
triadic
#893EB9 #B9893E #3EB989
tetradic
#893EB9 #B94B3E #6EB93E #3EABB9
square
#893EB9 #B94B3E #6EB93E #3EABB9
split-complementary
#893EB9 #ABB93E #3EB94B
monochromatic
#451F5D #672F8B #893EB9 #A568CC #C096DC

Accessibility & contrast

On white

6.08
#893EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #893EB9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EB9#FFFFFF#000000##FFFFFF
##893EB91.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#2A63B6
Tritanopia (blue-blind)
#825876
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #893eb9;
/* rgb */ color: rgb(137, 62, 185);
/* oklch */ color: oklch(52.0% 0.190 309.3);
Tailwind
colors: {
  custom: {
    50: '#af78cf',
    500: '#893eb9',
    950: '#000000',
  },
}
SCSS
$custom: #893eb9;
$custom-light: #af78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#893eb9",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 276.585,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.18977,
    "h": 309.3
  },
  "luminance": 0.12266
}

Semantic roles & 50–950 ramp

primary
#893EB9
secondary
#A3C78C
accent
#D94E85
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #893EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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