#893ED7#893ED7

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

Color values

HEX#893ED7
RGBrgb(137, 62, 215)
HSLhsl(269, 66%, 54%)
HSVhsv(269, 71%, 84%)
CMYKcmyk(36.3%, 71.2%, 0%, 15.7%)
CIE-LABlab(43.76, 59.78, -65.92)
CIE-LCHlch(43.76, 88.99, 312.20°)
OKLaboklab(54.18% 0.1162 -0.1879)
OKLCHoklch(54.18% 0.221 301.7)
XYZxyz(24.3019, 13.6698, 65.6350)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893ED7 #8CD73E
analogous
#3E40D7 #893ED7 #D63ED7
triadic
#893ED7 #D7893E #3ED789
tetradic
#893ED7 #D73E40 #8CD73E #3ED7D6
square
#893ED7 #D73E40 #8CD73E #3ED7D6
split-complementary
#893ED7 #D7D63E #40D73E
monochromatic
#4C1B80 #6B25B3 #893ED7 #A871E2 #C7A3EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##893ED7#FFFFFF#000000##FFFFFF
##893ED71.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#786387
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #893ed7;
/* rgb */ color: rgb(137, 62, 215);
/* oklch */ color: oklch(54.2% 0.221 301.7);
Tailwind
colors: {
  custom: {
    50: '#b17ae4',
    500: '#893ed7',
    950: '#000000',
  },
}
SCSS
$custom: #893ed7;
$custom-light: #b17ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#893ed7",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 269.412,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54177,
    "c": 0.22093,
    "h": 301.7
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#893ED7
secondary
#B9D998
accent
#E93F96
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #893ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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