#893CBE#893CBE

#893CBE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.1% C 0.198 H 308.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#893CBE
RGBrgb(137, 60, 190)
HSLhsl(276, 52%, 49%)
HSVhsv(276, 68%, 75%)
CMYKcmyk(27.9%, 68.4%, 0%, 25.5%)
CIE-LABlab(41.64, 54.90, -54.88)
CIE-LCHlch(41.64, 77.62, 315.01°)
OKLaboklab(52.1% 0.1219 -0.1554)
OKLCHoklch(52.1% 0.198 308.1)
XYZxyz(21.2247, 12.2681, 49.9551)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893CBE #71BE3C
analogous
#483CBE #893CBE #BE3CB2
triadic
#893CBE #BE893C #3CBE89
tetradic
#893CBE #BE483C #71BE3C #3CB2BE
square
#893CBE #BE483C #71BE3C #3CB2BE
split-complementary
#893CBE #B2BE3C #3CBE48
monochromatic
#461F61 #672D8F #893CBE #A568CF #C196DE

Accessibility & contrast

On white

6.08
#893CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#893CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893CBE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893CBE#FFFFFF#000000##FFFFFF
##893CBE1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#1F63BB
Tritanopia (blue-blind)
#815878
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #893cbe;
/* rgb */ color: rgb(137, 60, 190);
/* oklch */ color: oklch(52.1% 0.198 308.1);
Tailwind
colors: {
  custom: {
    50: '#b078d2',
    500: '#893cbe',
    950: '#000000',
  },
}
SCSS
$custom: #893cbe;
$custom-light: #b078d2;
$custom-dark: #000000;
JSON
{
  "hex": "#893cbe",
  "rgb": {
    "r": 137,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 275.538,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.19755,
    "h": 308.1
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#893CBE
secondary
#A5CA8C
accent
#DB4C87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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