#893DBE#893DBE

#893DBE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.196 H 308.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#893DBE
RGBrgb(137, 61, 190)
HSLhsl(275, 51%, 49%)
HSVhsv(275, 68%, 75%)
CMYKcmyk(27.9%, 67.9%, 0%, 25.5%)
CIE-LABlab(41.80, 54.44, -54.61)
CIE-LCHlch(41.80, 77.11, 314.91°)
OKLaboklab(52.22% 0.1209 -0.1546)
OKLCHoklch(52.22% 0.196 308)
XYZxyz(21.2776, 12.3739, 49.9727)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DBE #72BE3D
analogous
#493DBE #893DBE #BE3DB3
triadic
#893DBE #BE893D #3DBE89
tetradic
#893DBE #BE493D #72BE3D #3DB3BE
square
#893DBE #BE493D #72BE3D #3DB3BE
split-complementary
#893DBE #B3BE3D #3DBE49
monochromatic
#461F61 #682E90 #893DBE #A569CF #C198DE

Accessibility & contrast

On white

6.04
#893DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#893DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DBE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DBE#FFFFFF#000000##FFFFFF
##893DBE1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#2063BB
Tritanopia (blue-blind)
#815979
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #893dbe;
/* rgb */ color: rgb(137, 61, 190);
/* oklch */ color: oklch(52.2% 0.196 308.0);
Tailwind
colors: {
  custom: {
    50: '#b078d2',
    500: '#893dbe',
    950: '#000000',
  },
}
SCSS
$custom: #893dbe;
$custom-light: #b078d2;
$custom-dark: #000000;
JSON
{
  "hex": "#893dbe",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 275.349,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.19626,
    "h": 308
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#893DBE
secondary
#A6C98D
accent
#DB4D87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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