#893DC2#893DC2

#893DC2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.200 H 306.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#893DC2
RGBrgb(137, 61, 194)
HSLhsl(274, 52%, 50%)
HSVhsv(274, 69%, 76%)
CMYKcmyk(29.4%, 68.6%, 0%, 23.9%)
CIE-LABlab(42.08, 55.35, -56.50)
CIE-LCHlch(42.08, 79.10, 314.41°)
OKLaboklab(52.51% 0.1204 -0.1602)
OKLCHoklch(52.51% 0.2 306.9)
XYZxyz(21.7208, 12.5511, 52.3068)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DC2 #76C23D
analogous
#473DC2 #893DC2 #C23DB8
triadic
#893DC2 #C2893D #3DC289
tetradic
#893DC2 #C2473D #76C23D #3DB8C2
square
#893DC2 #C2473D #76C23D #3DB8C2
split-complementary
#893DC2 #B8C23D #3DC247
monochromatic
#472065 #682E93 #893DC2 #A56CD1 #C29ADF

Accessibility & contrast

On white

5.98
#893DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#893DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DC2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DC2#FFFFFF#000000##FFFFFF
##893DC21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#1864BF
Tritanopia (blue-blind)
#805B7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #893dc2;
/* rgb */ color: rgb(137, 61, 194);
/* oklch */ color: oklch(52.5% 0.200 306.9);
Tailwind
colors: {
  custom: {
    50: '#b078d5',
    500: '#893dc2',
    950: '#000000',
  },
}
SCSS
$custom: #893dc2;
$custom-light: #b078d5;
$custom-dark: #000000;
JSON
{
  "hex": "#893dc2",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 274.286,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.52506,
    "c": 0.2004,
    "h": 306.9
  },
  "luminance": 0.12551
}

Semantic roles & 50–950 ramp

primary
#893DC2
secondary
#A9CB90
accent
#DC4C8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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