#893DD5#893DD5

#893DD5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.220 H 302.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#893DD5
RGBrgb(137, 61, 213)
HSLhsl(270, 64%, 54%)
HSVhsv(270, 71%, 84%)
CMYKcmyk(35.7%, 71.4%, 0%, 16.5%)
CIE-LABlab(43.45, 59.76, -65.27)
CIE-LCHlch(43.45, 88.50, 312.47°)
OKLaboklab(53.91% 0.1175 -0.186)
OKLCHoklch(53.91% 0.22 302.3)
XYZxyz(23.9927, 13.4599, 64.2719)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DD5 #89D53D
analogous
#3D3DD5 #893DD5 #D53DD5
triadic
#893DD5 #D5893D #3DD589
tetradic
#893DD5 #D53D3D #89D53D #3DD5D5
square
#893DD5 #D53D3D #89D53D #3DD5D5
split-complementary
#893DD5 #D5D53D #3DD53D
monochromatic
#4C1B7D #6A26AF #893DD5 #A86FE0 #C6A2EB

Accessibility & contrast

On white

5.69
#893DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#893DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DD5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DD5#FFFFFF#000000##FFFFFF
##893DD51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#796285
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #893dd5;
/* rgb */ color: rgb(137, 61, 213);
/* oklch */ color: oklch(53.9% 0.220 302.3);
Tailwind
colors: {
  custom: {
    50: '#b179e3',
    500: '#893dd5',
    950: '#000000',
  },
}
SCSS
$custom: #893dd5;
$custom-light: #b179e3;
$custom-dark: #000000;
JSON
{
  "hex": "#893dd5",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 270,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53912,
    "c": 0.22001,
    "h": 302.3
  },
  "luminance": 0.1346
}

Semantic roles & 50–950 ramp

primary
#893DD5
secondary
#B7D796
accent
#E74094
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #893DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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