#893FB9#893FB9

#893FB9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.188 H 309.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#893FB9
RGBrgb(137, 63, 185)
HSLhsl(276, 49%, 49%)
HSVhsv(276, 66%, 73%)
CMYKcmyk(25.9%, 65.9%, 0%, 27.5%)
CIE-LABlab(41.81, 52.37, -51.67)
CIE-LCHlch(41.81, 73.57, 315.38°)
OKLaboklab(52.12% 0.1191 -0.146)
OKLCHoklch(52.12% 0.188 309.2)
XYZxyz(20.8493, 12.3765, 47.1801)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FB9 #6FB93F
analogous
#4C3FB9 #893FB9 #B93FAC
triadic
#893FB9 #B9893F #3FB989
tetradic
#893FB9 #B94C3F #6FB93F #3FACB9
square
#893FB9 #B94C3F #6FB93F #3FACB9
split-complementary
#893FB9 #ACB93F #3FB94C
monochromatic
#45205E #672F8B #893FB9 #A569CC #C197DC

Accessibility & contrast

On white

6.04
#893FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#893FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FB9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FB9#FFFFFF#000000##FFFFFF
##893FB91.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#2B64B6
Tritanopia (blue-blind)
#825877
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #893fb9;
/* rgb */ color: rgb(137, 63, 185);
/* oklch */ color: oklch(52.1% 0.188 309.2);
Tailwind
colors: {
  custom: {
    50: '#af79cf',
    500: '#893fb9',
    950: '#000000',
  },
}
SCSS
$custom: #893fb9;
$custom-light: #af79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#893fb9",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 276.393,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.18842,
    "h": 309.2
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#893FB9
secondary
#A4C78D
accent
#D94F85
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #893FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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