#893CCB#893CCB

#893CCB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.211 H 304.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#893CCB
RGBrgb(137, 60, 203)
HSLhsl(272, 58%, 52%)
HSVhsv(272, 70%, 80%)
CMYKcmyk(32.5%, 70.4%, 0%, 20.4%)
CIE-LABlab(42.55, 57.87, -60.96)
CIE-LCHlch(42.55, 84.05, 313.51°)
OKLaboklab(53.05% 0.1202 -0.1733)
OKLCHoklch(53.05% 0.211 304.7)
XYZxyz(22.7094, 12.8620, 57.7746)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893CCB #7ECB3C
analogous
#423CCB #893CCB #CB3CC6
triadic
#893CCB #CB893C #3CCB89
tetradic
#893CCB #CB423C #7ECB3C #3CC6CB
square
#893CCB #CB423C #7ECB3C #3CC6CB
split-complementary
#893CCB #C6CB3C #3CCB42
monochromatic
#491E6F #692A9F #893CCB #A66CD8 #C39DE5

Accessibility & contrast

On white

5.88
#893CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#893CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893CCB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893CCB#FFFFFF#000000##FFFFFF
##893CCB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.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: #893ccb;
/* rgb */ color: rgb(137, 60, 203);
/* oklch */ color: oklch(53.0% 0.211 304.7);
Tailwind
colors: {
  custom: {
    50: '#b178dc',
    500: '#893ccb',
    950: '#000000',
  },
}
SCSS
$custom: #893ccb;
$custom-light: #b178dc;
$custom-dark: #000000;
JSON
{
  "hex": "#893ccb",
  "rgb": {
    "r": 137,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 272.308,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.2109,
    "h": 304.7
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #893CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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