#893EBC#893EBC

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

Color values

HEX#893EBC
RGBrgb(137, 62, 188)
HSLhsl(276, 50%, 49%)
HSVhsv(276, 67%, 74%)
CMYKcmyk(27.1%, 67%, 0%, 26.3%)
CIE-LABlab(41.84, 53.52, -53.39)
CIE-LCHlch(41.84, 75.60, 315.07°)
OKLaboklab(52.2% 0.12 -0.1511)
OKLCHoklch(52.2% 0.193 308.5)
XYZxyz(21.1144, 12.3948, 48.8473)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EBC #71BC3E
analogous
#4A3EBC #893EBC #BC3EB0
triadic
#893EBC #BC893E #3EBC89
tetradic
#893EBC #BC4A3E #71BC3E #3EB0BC
square
#893EBC #BC4A3E #71BC3E #3EB0BC
split-complementary
#893EBC #B0BC3E #3EBC4A
monochromatic
#462060 #672F8E #893EBC #A56ACE #C198DD

Accessibility & contrast

On white

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

On black

3.48
#893EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##893EBC#FFFFFF#000000##FFFFFF
##893EBC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#2564B9
Tritanopia (blue-blind)
#815978
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #893ebc;
/* rgb */ color: rgb(137, 62, 188);
/* oklch */ color: oklch(52.2% 0.193 308.5);
Tailwind
colors: {
  custom: {
    50: '#af79d1',
    500: '#893ebc',
    950: '#000000',
  },
}
SCSS
$custom: #893ebc;
$custom-light: #af79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#893ebc",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 275.714,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52203,
    "c": 0.19289,
    "h": 308.5
  },
  "luminance": 0.12394
}

Semantic roles & 50–950 ramp

primary
#893EBC
secondary
#A5C98D
accent
#DA4E87
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #893EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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