#893FD5#893FD5

#893FD5 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.218 H 302.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#893FD5
RGBrgb(137, 63, 213)
HSLhsl(270, 64%, 54%)
HSVhsv(270, 70%, 84%)
CMYKcmyk(35.7%, 70.4%, 0%, 16.5%)
CIE-LABlab(43.77, 58.86, -64.76)
CIE-LCHlch(43.77, 87.51, 312.27°)
OKLaboklab(54.14% 0.1156 -0.1845)
OKLCHoklch(54.14% 0.218 302.1)
XYZxyz(24.1014, 13.6774, 64.3081)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FD5 #8BD53F
analogous
#3F40D5 #893FD5 #D43FD5
triadic
#893FD5 #D5893F #3FD589
tetradic
#893FD5 #D53F40 #8BD53F #3FD5D4
square
#893FD5 #D53F40 #8BD53F #3FD5D4
split-complementary
#893FD5 #D5D43F #40D53F
monochromatic
#4C1C7E #6A27B0 #893FD5 #A871E0 #C7A3EB

Accessibility & contrast

On white

5.62
#893FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#893FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FD5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FD5#FFFFFF#000000##FFFFFF
##893FD51.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #893fd5;
/* rgb */ color: rgb(137, 63, 213);
/* oklch */ color: oklch(54.1% 0.218 302.1);
Tailwind
colors: {
  custom: {
    50: '#b17ae3',
    500: '#893fd5',
    950: '#000000',
  },
}
SCSS
$custom: #893fd5;
$custom-light: #b17ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#893fd5",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 269.6,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54138,
    "c": 0.2177,
    "h": 302.1
  },
  "luminance": 0.13677
}

Semantic roles & 50–950 ramp

primary
#893FD5
secondary
#B8D898
accent
#E74195
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #893FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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