#893FD4#893FD4

#893FD4 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.217 H 302.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#893FD4
RGBrgb(137, 63, 212)
HSLhsl(270, 63%, 54%)
HSVhsv(270, 70%, 83%)
CMYKcmyk(35.4%, 70.3%, 0%, 16.9%)
CIE-LABlab(43.69, 58.62, -64.30)
CIE-LCHlch(43.69, 87.01, 312.35°)
OKLaboklab(54.06% 0.1158 -0.1831)
OKLCHoklch(54.06% 0.217 302.3)
XYZxyz(23.9749, 13.6268, 63.6417)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FD4 #8AD43F
analogous
#3F40D4 #893FD4 #D43FD4
triadic
#893FD4 #D4893F #3FD489
tetradic
#893FD4 #D43F40 #8AD43F #3FD4D4
square
#893FD4 #D43F40 #8AD43F #3FD4D4
split-complementary
#893FD4 #D4D43F #40D43F
monochromatic
#4C1C7D #6A27AF #893FD4 #A871DF #C6A3EA

Accessibility & contrast

On white

5.64
#893FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#893FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FD4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FD4#FFFFFF#000000##FFFFFF
##893FD41.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#796385
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #893fd4;
/* rgb */ color: rgb(137, 63, 212);
/* oklch */ color: oklch(54.1% 0.217 302.3);
Tailwind
colors: {
  custom: {
    50: '#b17ae2',
    500: '#893fd4',
    950: '#000000',
  },
}
SCSS
$custom: #893fd4;
$custom-light: #b17ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#893fd4",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 269.799,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54063,
    "c": 0.21666,
    "h": 302.3
  },
  "luminance": 0.13627
}

Semantic roles & 50–950 ramp

primary
#893FD4
secondary
#B8D798
accent
#E64194
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #893FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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