#893EC8#893EC8

#893EC8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.205 H 305.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#893EC8
RGBrgb(137, 62, 200)
HSLhsl(273, 56%, 51%)
HSVhsv(273, 69%, 78%)
CMYKcmyk(31.5%, 69%, 0%, 21.6%)
CIE-LABlab(42.66, 56.27, -59.04)
CIE-LCHlch(42.66, 81.56, 313.62°)
OKLaboklab(53.06% 0.1186 -0.1677)
OKLCHoklch(53.06% 0.205 305.3)
XYZxyz(22.4622, 12.9339, 55.9455)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EC8 #7DC83E
analogous
#443EC8 #893EC8 #C83EC2
triadic
#893EC8 #C8893E #3EC889
tetradic
#893EC8 #C8443E #7DC83E #3EC2C8
square
#893EC8 #C8443E #7DC83E #3EC2C8
split-complementary
#893EC8 #C2C83E #3EC844
monochromatic
#491F6D #692D9C #893EC8 #A66ED6 #C39DE3

Accessibility & contrast

On white

5.85
#893EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#893EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EC8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EC8#FFFFFF#000000##FFFFFF
##893EC81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0665C5
Tritanopia (blue-blind)
#7E5D7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #893ec8;
/* rgb */ color: rgb(137, 62, 200);
/* oklch */ color: oklch(53.1% 0.205 305.3);
Tailwind
colors: {
  custom: {
    50: '#b079da',
    500: '#893ec8',
    950: '#000000',
  },
}
SCSS
$custom: #893ec8;
$custom-light: #b079da;
$custom-dark: #000000;
JSON
{
  "hex": "#893ec8",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 272.609,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53057,
    "c": 0.20537,
    "h": 305.3
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#893EC8
secondary
#AECF92
accent
#DF498D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #893EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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