#893CB4#893CB4

#893CB4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.187 H 311.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#893CB4
RGBrgb(137, 60, 180)
HSLhsl(279, 50%, 47%)
HSVhsv(279, 67%, 71%)
CMYKcmyk(23.9%, 66.7%, 0%, 29.4%)
CIE-LABlab(40.97, 52.67, -50.08)
CIE-LCHlch(40.97, 72.68, 316.44°)
OKLaboklab(51.41% 0.1229 -0.1413)
OKLCHoklch(51.41% 0.187 311)
XYZxyz(20.1691, 11.8458, 44.3952)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893CB4 #67B43C
analogous
#4D3CB4 #893CB4 #B43CA3
triadic
#893CB4 #B4893C #3CB489
tetradic
#893CB4 #B44D3C #67B43C #3CA3B4
square
#893CB4 #B44D3C #67B43C #3CA3B4
split-complementary
#893CB4 #A3B43C #3CB44D
monochromatic
#431D58 #662D86 #893CB4 #A562CB #C090DA

Accessibility & contrast

On white

6.23
#893CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#893CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893CB4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893CB4#FFFFFF#000000##FFFFFF
##893CB41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#2D62B1
Tritanopia (blue-blind)
#845573
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893cb4;
/* rgb */ color: rgb(137, 60, 180);
/* oklch */ color: oklch(51.4% 0.187 311.0);
Tailwind
colors: {
  custom: {
    50: '#af77cb',
    500: '#893cb4',
    950: '#000000',
  },
}
SCSS
$custom: #893cb4;
$custom-light: #af77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#893cb4",
  "rgb": {
    "r": 137,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 278.5,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.18728,
    "h": 311
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#893CB4
secondary
#9DC587
accent
#DA4E80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #893CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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