#893FBB#893FBB

#893FBB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.191 H 308.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#893FBB
RGBrgb(137, 63, 187)
HSLhsl(276, 50%, 49%)
HSVhsv(276, 66%, 73%)
CMYKcmyk(26.7%, 66.3%, 0%, 26.7%)
CIE-LABlab(41.94, 52.82, -52.63)
CIE-LCHlch(41.94, 74.57, 315.10°)
OKLaboklab(52.26% 0.1189 -0.1488)
OKLCHoklch(52.26% 0.191 308.6)
XYZxyz(21.0619, 12.4616, 48.2999)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FBB #71BB3F
analogous
#4B3FBB #893FBB #BB3FAF
triadic
#893FBB #BB893F #3FBB89
tetradic
#893FBB #BB4B3F #71BB3F #3FAFBB
square
#893FBB #BB4B3F #71BB3F #3FAFBB
split-complementary
#893FBB #AFBB3F #3FBB4B
monochromatic
#46205F #67308D #893FBB #A56ACD #C198DC

Accessibility & contrast

On white

6.01
#893FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#893FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FBB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FBB#FFFFFF#000000##FFFFFF
##893FBB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#825978
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #893fbb;
/* rgb */ color: rgb(137, 63, 187);
/* oklch */ color: oklch(52.3% 0.191 308.6);
Tailwind
colors: {
  custom: {
    50: '#af79d0',
    500: '#893fbb',
    950: '#000000',
  },
}
SCSS
$custom: #893fbb;
$custom-light: #af79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#893fbb",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 275.806,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52256,
    "c": 0.19051,
    "h": 308.6
  },
  "luminance": 0.12461
}

Semantic roles & 50–950 ramp

primary
#893FBB
secondary
#A5C88E
accent
#D94F87
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #893FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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