#893FBD#893FBD

#893FBD is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.193 H 308.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#893FBD
RGBrgb(137, 63, 189)
HSLhsl(275, 50%, 49%)
HSVhsv(275, 67%, 74%)
CMYKcmyk(27.5%, 66.7%, 0%, 25.9%)
CIE-LABlab(42.07, 53.28, -53.59)
CIE-LCHlch(42.07, 75.57, 314.83°)
OKLaboklab(52.39% 0.1187 -0.1517)
OKLCHoklch(52.39% 0.193 308.1)
XYZxyz(21.2775, 12.5478, 49.4353)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FBD #73BD3F
analogous
#4A3FBD #893FBD #BD3FB2
triadic
#893FBD #BD893F #3FBD89
tetradic
#893FBD #BD4A3F #73BD3F #3FB2BD
square
#893FBD #BD4A3F #73BD3F #3FB2BD
split-complementary
#893FBD #B2BD3F #3FBD4A
monochromatic
#462061 #68308F #893FBD #A56BCE #C199DD

Accessibility & contrast

On white

5.98
#893FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#893FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FBD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FBD#FFFFFF#000000##FFFFFF
##893FBD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#815A79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #893fbd;
/* rgb */ color: rgb(137, 63, 189);
/* oklch */ color: oklch(52.4% 0.193 308.1);
Tailwind
colors: {
  custom: {
    50: '#b079d2',
    500: '#893fbd',
    950: '#000000',
  },
}
SCSS
$custom: #893fbd;
$custom-light: #b079d2;
$custom-dark: #000000;
JSON
{
  "hex": "#893fbd",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 275.238,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.19261,
    "h": 308.1
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#893FBD
secondary
#A7C98F
accent
#DA4E88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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