#893DC4#893DC4

#893DC4 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.202 H 306.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#893DC4
RGBrgb(137, 61, 196)
HSLhsl(274, 53%, 50%)
HSVhsv(274, 69%, 77%)
CMYKcmyk(30.1%, 68.9%, 0%, 23.1%)
CIE-LABlab(42.22, 55.81, -57.44)
CIE-LCHlch(42.22, 80.09, 314.17°)
OKLaboklab(52.65% 0.1202 -0.163)
OKLCHoklch(52.65% 0.202 306.4)
XYZxyz(21.9469, 12.6416, 53.4977)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DC4 #78C43D
analogous
#453DC4 #893DC4 #C43DBB
triadic
#893DC4 #C4893D #3DC489
tetradic
#893DC4 #C4453D #78C43D #3DBBC4
square
#893DC4 #C4453D #78C43D #3DBBC4
split-complementary
#893DC4 #BBC43D #3DC445
monochromatic
#481F67 #682E96 #893DC4 #A66CD2 #C29BE1

Accessibility & contrast

On white

5.95
#893DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#893DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DC4
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DC4#FFFFFF#000000##FFFFFF
##893DC41.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#1264C1
Tritanopia (blue-blind)
#7F5B7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893dc4;
/* rgb */ color: rgb(137, 61, 196);
/* oklch */ color: oklch(52.6% 0.202 306.4);
Tailwind
colors: {
  custom: {
    50: '#b078d7',
    500: '#893dc4',
    950: '#000000',
  },
}
SCSS
$custom: #893dc4;
$custom-light: #b078d7;
$custom-dark: #000000;
JSON
{
  "hex": "#893dc4",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 273.778,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.20246,
    "h": 306.4
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#893DC4
secondary
#ABCD90
accent
#DD4B8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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