#893ECD#893ECD

#893ECD is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.211 H 304.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#893ECD
RGBrgb(137, 62, 205)
HSLhsl(271, 59%, 52%)
HSVhsv(271, 70%, 80%)
CMYKcmyk(33.2%, 69.8%, 0%, 19.6%)
CIE-LABlab(43.02, 57.43, -61.36)
CIE-LCHlch(43.02, 84.05, 313.11°)
OKLaboklab(53.42% 0.1179 -0.1745)
OKLCHoklch(53.42% 0.211 304)
XYZxyz(23.0561, 13.1715, 59.0735)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893ECD #82CD3E
analogous
#423ECD #893ECD #CD3EC9
triadic
#893ECD #CD893E #3ECD89
tetradic
#893ECD #CD423E #82CD3E #3EC9CD
square
#893ECD #CD423E #82CD3E #3EC9CD
split-complementary
#893ECD #C9CD3E #3ECD42
monochromatic
#4A1E73 #6A2AA3 #893ECD #A76FDA #C49FE6

Accessibility & contrast

On white

5.78
#893ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#893ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893ECD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893ECD#FFFFFF#000000##FFFFFF
##893ECD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#7C5F81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #893ecd;
/* rgb */ color: rgb(137, 62, 205);
/* oklch */ color: oklch(53.4% 0.211 304.0);
Tailwind
colors: {
  custom: {
    50: '#b179dd',
    500: '#893ecd',
    950: '#000000',
  },
}
SCSS
$custom: #893ecd;
$custom-light: #b179dd;
$custom-dark: #000000;
JSON
{
  "hex": "#893ecd",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 271.469,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53424,
    "c": 0.21057,
    "h": 304
  },
  "luminance": 0.13171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #893ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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