#893DCE#893DCE

#893DCE is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.213 H 303.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#893DCE
RGBrgb(137, 61, 206)
HSLhsl(271, 60%, 52%)
HSVhsv(271, 70%, 81%)
CMYKcmyk(33.5%, 70.4%, 0%, 19.2%)
CIE-LABlab(42.93, 58.12, -62.08)
CIE-LCHlch(42.93, 85.04, 313.11°)
OKLaboklab(53.38% 0.1187 -0.1766)
OKLCHoklch(53.38% 0.213 303.9)
XYZxyz(23.1233, 13.1121, 59.6933)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DCE #82CE3D
analogous
#403DCE #893DCE #CE3DCB
triadic
#893DCE #CE893D #3DCE89
tetradic
#893DCE #CE403D #82CE3D #3DCBCE
square
#893DCE #CE403D #82CE3D #3DCBCE
split-complementary
#893DCE #CBCE3D #3DCE40
monochromatic
#4A1D73 #6A29A4 #893DCE #A76EDA #C49FE7

Accessibility & contrast

On white

5.80
#893DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#893DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DCE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DCE#FFFFFF#000000##FFFFFF
##893DCE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#7C5F81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #893dce;
/* rgb */ color: rgb(137, 61, 206);
/* oklch */ color: oklch(53.4% 0.213 303.9);
Tailwind
colors: {
  custom: {
    50: '#b179de',
    500: '#893dce',
    950: '#000000',
  },
}
SCSS
$custom: #893dce;
$custom-light: #b179de;
$custom-dark: #000000;
JSON
{
  "hex": "#893dce",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 271.448,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.2128,
    "h": 303.9
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#893DCE
secondary
#B2D394
accent
#E34590
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #893DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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