#893FD2#893FD2

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

Color values

HEX#893FD2
RGBrgb(137, 63, 210)
HSLhsl(270, 62%, 54%)
HSVhsv(270, 70%, 82%)
CMYKcmyk(34.8%, 70%, 0%, 17.6%)
CIE-LABlab(43.55, 58.15, -63.39)
CIE-LCHlch(43.55, 86.02, 312.53°)
OKLaboklab(53.91% 0.1161 -0.1805)
OKLCHoklch(53.91% 0.215 302.8)
XYZxyz(23.7242, 13.5265, 62.3213)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FD2 #88D23F
analogous
#3F3FD2 #893FD2 #D23FD1
triadic
#893FD2 #D2893F #3FD289
tetradic
#893FD2 #D23F3F #88D23F #3FD1D2
square
#893FD2 #D23F3F #88D23F #3FD1D2
split-complementary
#893FD2 #D1D23F #3FD23F
monochromatic
#4C1D7A #6A28AC #893FD2 #A771DE #C6A2E9

Accessibility & contrast

On white

5.67
#893FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#893FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FD2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FD2#FFFFFF#000000##FFFFFF
##893FD21.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#7A6284
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #893fd2;
/* rgb */ color: rgb(137, 63, 210);
/* oklch */ color: oklch(53.9% 0.215 302.8);
Tailwind
colors: {
  custom: {
    50: '#b17ae1',
    500: '#893fd2',
    950: '#000000',
  },
}
SCSS
$custom: #893fd2;
$custom-light: #b17ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#893fd2",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 270.204,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53912,
    "c": 0.21457,
    "h": 302.8
  },
  "luminance": 0.13527
}

Semantic roles & 50–950 ramp

primary
#893FD2
secondary
#B6D697
accent
#E54393
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #893FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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