#893BCB#893BCB

#893BCB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.212 H 304.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#893BCB
RGBrgb(137, 59, 203)
HSLhsl(273, 58%, 51%)
HSVhsv(273, 71%, 80%)
CMYKcmyk(32.5%, 70.9%, 0%, 20.4%)
CIE-LABlab(42.40, 58.31, -61.22)
CIE-LCHlch(42.40, 84.55, 313.61°)
OKLaboklab(52.93% 0.1212 -0.174)
OKLCHoklch(52.93% 0.212 304.8)
XYZxyz(22.6576, 12.7582, 57.7573)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893BCB #7DCB3B
analogous
#413BCB #893BCB #CB3BC5
triadic
#893BCB #CB893B #3BCB89
tetradic
#893BCB #CB413B #7DCB3B #3BC5CB
square
#893BCB #CB413B #7DCB3B #3BC5CB
split-complementary
#893BCB #C5CB3B #3BCB41
monochromatic
#491D6E #692A9F #893BCB #A66BD8 #C39CE5

Accessibility & contrast

On white

5.91
#893BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#893BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893BCB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893BCB#FFFFFF#000000##FFFFFF
##893BCB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#7D5D7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893bcb;
/* rgb */ color: rgb(137, 59, 203);
/* oklch */ color: oklch(52.9% 0.212 304.8);
Tailwind
colors: {
  custom: {
    50: '#b177dc',
    500: '#893bcb',
    950: '#000000',
  },
}
SCSS
$custom: #893bcb;
$custom-light: #b177dc;
$custom-dark: #000000;
JSON
{
  "hex": "#893bcb",
  "rgb": {
    "r": 137,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 272.5,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52934,
    "c": 0.21209,
    "h": 304.8
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

primary
#893BCB
secondary
#AED191
accent
#E1478D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #893BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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