#893DC6#893DC6

#893DC6 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.205 H 305.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#893DC6
RGBrgb(137, 61, 198)
HSLhsl(273, 55%, 51%)
HSVhsv(273, 69%, 78%)
CMYKcmyk(30.8%, 69.2%, 0%, 22.4%)
CIE-LABlab(42.36, 56.27, -58.38)
CIE-LCHlch(42.36, 81.08, 313.95°)
OKLaboklab(52.79% 0.1199 -0.1657)
OKLCHoklch(52.79% 0.205 305.9)
XYZxyz(22.1761, 12.7333, 54.7046)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DC6 #7AC63D
analogous
#443DC6 #893DC6 #C63DBE
triadic
#893DC6 #C6893D #3DC689
tetradic
#893DC6 #C6443D #7AC63D #3DBEC6
square
#893DC6 #C6443D #7AC63D #3DBEC6
split-complementary
#893DC6 #BEC63D #3DC644
monochromatic
#481F6A #692D99 #893DC6 #A66CD4 #C39CE2

Accessibility & contrast

On white

5.92
#893DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#893DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DC6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DC6#FFFFFF#000000##FFFFFF
##893DC61.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0B64C3
Tritanopia (blue-blind)
#7E5C7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893dc6;
/* rgb */ color: rgb(137, 61, 198);
/* oklch */ color: oklch(52.8% 0.205 305.9);
Tailwind
colors: {
  custom: {
    50: '#b078d8',
    500: '#893dc6',
    950: '#000000',
  },
}
SCSS
$custom: #893dc6;
$custom-light: #b078d8;
$custom-dark: #000000;
JSON
{
  "hex": "#893dc6",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 273.285,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52794,
    "c": 0.20454,
    "h": 305.9
  },
  "luminance": 0.12733
}

Semantic roles & 50–950 ramp

primary
#893DC6
secondary
#ACCE91
accent
#DE4A8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83

Preview Lab

Preview with #893DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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