#893ECC#893ECC

#893ECC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.210 H 304.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#893ECC
RGBrgb(137, 62, 204)
HSLhsl(272, 58%, 52%)
HSVhsv(272, 70%, 80%)
CMYKcmyk(32.8%, 69.6%, 0%, 20%)
CIE-LABlab(42.95, 57.20, -60.90)
CIE-LCHlch(42.95, 83.55, 313.21°)
OKLaboklab(53.35% 0.118 -0.1731)
OKLCHoklch(53.35% 0.21 304.3)
XYZxyz(22.9358, 13.1233, 58.4398)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893ECC #81CC3E
analogous
#423ECC #893ECC #CC3EC8
triadic
#893ECC #CC893E #3ECC89
tetradic
#893ECC #CC423E #81CC3E #3EC8CC
square
#893ECC #CC423E #81CC3E #3EC8CC
split-complementary
#893ECC #C8CC3E #3ECC42
monochromatic
#4A1E72 #6A2BA2 #893ECC #A76ED9 #C49FE6

Accessibility & contrast

On white

5.79
#893ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #893ECC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893ECC#FFFFFF#000000##FFFFFF
##893ECC1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #893ecc;
/* rgb */ color: rgb(137, 62, 204);
/* oklch */ color: oklch(53.3% 0.210 304.3);
Tailwind
colors: {
  custom: {
    50: '#b179dc',
    500: '#893ecc',
    950: '#000000',
  },
}
SCSS
$custom: #893ecc;
$custom-light: #b179dc;
$custom-dark: #000000;
JSON
{
  "hex": "#893ecc",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 271.69,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.20952,
    "h": 304.3
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#893ECC
secondary
#B1D294
accent
#E14690
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #893ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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