#893BB2#893BB2

#893BB2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.187 H 311.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#893BB2
RGBrgb(137, 59, 178)
HSLhsl(279, 50%, 46%)
HSVhsv(279, 67%, 70%)
CMYKcmyk(23%, 66.9%, 0%, 30.2%)
CIE-LABlab(40.67, 52.70, -49.38)
CIE-LCHlch(40.67, 72.22, 316.86°)
OKLaboklab(51.16% 0.1242 -0.1393)
OKLCHoklch(51.16% 0.187 311.7)
XYZxyz(19.9149, 11.6611, 43.3126)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893BB2 #64B23B
analogous
#4E3BB2 #893BB2 #B23BA0
triadic
#893BB2 #B2893B #3BB289
tetradic
#893BB2 #B24E3B #64B23B #3BA0B2
square
#893BB2 #B24E3B #64B23B #3BA0B2
split-complementary
#893BB2 #A0B23B #3BB24E
monochromatic
#421D56 #662C84 #893BB2 #A660CA #BF8EDA

Accessibility & contrast

On white

6.30
#893BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#893BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893BB2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893BB2#FFFFFF#000000##FFFFFF
##893BB21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#2F61AF
Tritanopia (blue-blind)
#845372
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #893bb2;
/* rgb */ color: rgb(137, 59, 178);
/* oklch */ color: oklch(51.2% 0.187 311.7);
Tailwind
colors: {
  custom: {
    50: '#af77ca',
    500: '#893bb2',
    950: '#000000',
  },
}
SCSS
$custom: #893bb2;
$custom-light: #af77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#893bb2",
  "rgb": {
    "r": 137,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 279.328,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.18658,
    "h": 311.7
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#893BB2
secondary
#9AC485
accent
#DA4E7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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