#893FB1#893FB1

#893FB1 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.180 H 311.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#893FB1
RGBrgb(137, 63, 177)
HSLhsl(279, 48%, 47%)
HSVhsv(279, 64%, 69%)
CMYKcmyk(22.6%, 64.4%, 0%, 30.6%)
CIE-LABlab(41.29, 50.58, -47.79)
CIE-LCHlch(41.29, 69.59, 316.63°)
OKLaboklab(51.58% 0.1195 -0.1346)
OKLCHoklch(51.58% 0.18 311.6)
XYZxyz(20.0284, 12.0482, 42.8569)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FB1 #67B13F
analogous
#503FB1 #893FB1 #B13FA0
triadic
#893FB1 #B1893F #3FB189
tetradic
#893FB1 #B1503F #67B13F #3FA0B1
square
#893FB1 #B1503F #67B13F #3FA0B1
split-complementary
#893FB1 #A0B13F #3FB150
monochromatic
#431F57 #662F84 #893FB1 #A565C8 #C092D8

Accessibility & contrast

On white

6.16
#893FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#893FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FB1
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FB1#FFFFFF#000000##FFFFFF
##893FB11.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015EB4
Deuteranopia (green-blind)
#3463AE
Tritanopia (blue-blind)
#845572
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893fb1;
/* rgb */ color: rgb(137, 63, 177);
/* oklch */ color: oklch(51.6% 0.180 311.6);
Tailwind
colors: {
  custom: {
    50: '#af79c9',
    500: '#893fb1',
    950: '#000000',
  },
}
SCSS
$custom: #893fb1;
$custom-light: #af79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#893fb1",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 278.947,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51582,
    "c": 0.18005,
    "h": 311.6
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#893FB1
secondary
#9DC488
accent
#D75180
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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