#893DCB#893DCB

#893DCB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.210 H 304.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#893DCB
RGBrgb(137, 61, 203)
HSLhsl(272, 58%, 52%)
HSVhsv(272, 70%, 80%)
CMYKcmyk(32.5%, 70%, 0%, 20.4%)
CIE-LABlab(42.71, 57.42, -60.70)
CIE-LCHlch(42.71, 83.56, 313.41°)
OKLaboklab(53.16% 0.1192 -0.1725)
OKLCHoklch(53.16% 0.21 304.6)
XYZxyz(22.7623, 12.9678, 57.7922)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DCB #7FCB3D
analogous
#423DCB #893DCB #CB3DC6
triadic
#893DCB #CB893D #3DCB89
tetradic
#893DCB #CB423D #7FCB3D #3DC6CB
square
#893DCB #CB423D #7FCB3D #3DC6CB
split-complementary
#893DCB #C6CB3D #3DCB42
monochromatic
#4A1E70 #6A2BA0 #893DCB #A66DD8 #C49EE5

Accessibility & contrast

On white

5.84
#893DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#893DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DCB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DCB#FFFFFF#000000##FFFFFF
##893DCB1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#7D5E80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #893dcb;
/* rgb */ color: rgb(137, 61, 203);
/* oklch */ color: oklch(53.2% 0.210 304.6);
Tailwind
colors: {
  custom: {
    50: '#b179dc',
    500: '#893dcb',
    950: '#000000',
  },
}
SCSS
$custom: #893dcb;
$custom-light: #b179dc;
$custom-dark: #000000;
JSON
{
  "hex": "#893dcb",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 272.113,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.2097,
    "h": 304.6
  },
  "luminance": 0.12968
}

Semantic roles & 50–950 ramp

primary
#893DCB
secondary
#B0D193
accent
#E1478E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #893DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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