#893DCA#893DCA

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

Color values

HEX#893DCA
RGBrgb(137, 61, 202)
HSLhsl(272, 57%, 52%)
HSVhsv(272, 70%, 79%)
CMYKcmyk(32.2%, 69.8%, 0%, 20.8%)
CIE-LABlab(42.64, 57.19, -60.24)
CIE-LCHlch(42.64, 83.06, 313.51°)
OKLaboklab(53.09% 0.1193 -0.1712)
OKLCHoklch(53.09% 0.209 304.9)
XYZxyz(22.6435, 12.9202, 57.1666)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DCA #7ECA3D
analogous
#433DCA #893DCA #CA3DC5
triadic
#893DCA #CA893D #3DCA89
tetradic
#893DCA #CA433D #7ECA3D #3DC5CA
square
#893DCA #CA433D #7ECA3D #3DC5CA
split-complementary
#893DCA #C5CA3D #3DCA43
monochromatic
#491E6E #692B9F #893DCA #A66DD7 #C39DE4

Accessibility & contrast

On white

5.86
#893DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#893DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DCA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DCA#FFFFFF#000000##FFFFFF
##893DCA1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#7D5E7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #893dca;
/* rgb */ color: rgb(137, 61, 202);
/* oklch */ color: oklch(53.1% 0.209 304.9);
Tailwind
colors: {
  custom: {
    50: '#b179db',
    500: '#893dca',
    950: '#000000',
  },
}
SCSS
$custom: #893dca;
$custom-light: #b179db;
$custom-dark: #000000;
JSON
{
  "hex": "#893dca",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 272.34,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.20867,
    "h": 304.9
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

primary
#893DCA
secondary
#AFD092
accent
#E0478E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #893DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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