#893BBB#893BBB

#893BBB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.8% C 0.196 H 309.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#893BBB
RGBrgb(137, 59, 187)
HSLhsl(277, 52%, 48%)
HSVhsv(277, 68%, 73%)
CMYKcmyk(26.7%, 68.4%, 0%, 26.7%)
CIE-LABlab(41.27, 54.68, -53.71)
CIE-LCHlch(41.27, 76.65, 315.51°)
OKLaboklab(51.78% 0.1234 -0.152)
OKLCHoklch(51.78% 0.196 309.1)
XYZxyz(20.8483, 12.0345, 48.2287)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893BBB #6DBB3B
analogous
#493BBB #893BBB #BB3BAD
triadic
#893BBB #BB893B #3BBB89
tetradic
#893BBB #BB493B #6DBB3B #3BADBB
square
#893BBB #BB493B #6DBB3B #3BADBB
split-complementary
#893BBB #ADBB3B #3BBB49
monochromatic
#451E5E #672C8C #893BBB #A565CE #C093DD

Accessibility & contrast

On white

6.16
#893BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#893BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893BBB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893BBB#FFFFFF#000000##FFFFFF
##893BBB1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#825776
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893bbb;
/* rgb */ color: rgb(137, 59, 187);
/* oklch */ color: oklch(51.8% 0.196 309.1);
Tailwind
colors: {
  custom: {
    50: '#b077d0',
    500: '#893bbb',
    950: '#000000',
  },
}
SCSS
$custom: #893bbb;
$custom-light: #b077d0;
$custom-dark: #000000;
JSON
{
  "hex": "#893bbb",
  "rgb": {
    "r": 137,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 276.563,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.19575,
    "h": 309.1
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#893BBB
secondary
#A2C88A
accent
#DB4C84
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #893BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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