#893CE2#893CE2

#893CE2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.8% C 0.234 H 299.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#893CE2
RGBrgb(137, 60, 226)
HSLhsl(268, 74%, 56%)
HSVhsv(268, 73%, 89%)
CMYKcmyk(39.4%, 73.5%, 0%, 11.4%)
CIE-LABlab(44.29, 63.26, -71.33)
CIE-LCHlch(44.29, 95.34, 311.57°)
OKLaboklab(54.82% 0.1158 -0.2038)
OKLCHoklch(54.82% 0.234 299.6)
XYZxyz(25.6564, 14.0408, 73.2952)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893CE2 #95E23C
analogous
#3C42E2 #893CE2 #DC3CE2
triadic
#893CE2 #E2893C #3CE289
tetradic
#893CE2 #E23C42 #95E23C #3CE2DC
square
#893CE2 #E23C42 #95E23C #3CE2DC
split-complementary
#893CE2 #E2DC3C #42E23C
monochromatic
#4D158E #6A1DC4 #893CE2 #A971EA #C9A7F2

Accessibility & contrast

On white

5.51
#893CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#893CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893CE2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893CE2#FFFFFF#000000##FFFFFF
##893CE21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#74678C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #893ce2;
/* rgb */ color: rgb(137, 60, 226);
/* oklch */ color: oklch(54.8% 0.234 299.6);
Tailwind
colors: {
  custom: {
    50: '#b379ec',
    500: '#893ce2',
    950: '#000000',
  },
}
SCSS
$custom: #893ce2;
$custom-light: #b379ec;
$custom-dark: #000000;
JSON
{
  "hex": "#893ce2",
  "rgb": {
    "r": 137,
    "g": 60,
    "b": 226
  },
  "hsl": {
    "h": 267.831,
    "s": 74.107,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.2344,
    "h": 299.6
  },
  "luminance": 0.14041
}

Semantic roles & 50–950 ramp

primary
#893CE2
secondary
#BFDF9B
accent
#F1379B
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #893CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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