#893AC7#893AC7

#893AC7 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.209 H 306.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#893AC7
RGBrgb(137, 58, 199)
HSLhsl(274, 56%, 50%)
HSVhsv(274, 71%, 78%)
CMYKcmyk(31.2%, 70.9%, 0%, 22%)
CIE-LABlab(41.95, 57.84, -59.62)
CIE-LCHlch(41.95, 83.06, 314.13°)
OKLaboklab(52.53% 0.1228 -0.1693)
OKLCHoklch(52.53% 0.209 306)
XYZxyz(22.1361, 12.4682, 55.2622)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893AC7 #78C73A
analogous
#423AC7 #893AC7 #C73ABE
triadic
#893AC7 #C7893A #3AC789
tetradic
#893AC7 #C7423A #78C73A #3ABEC7
square
#893AC7 #C7423A #78C73A #3ABEC7
split-complementary
#893AC7 #BEC73A #3AC742
monochromatic
#481E69 #682B98 #893AC7 #A66AD5 #C299E2

Accessibility & contrast

On white

6.01
#893AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#893AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893AC7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893AC7#FFFFFF#000000##FFFFFF
##893AC71.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#7E5B7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #893ac7;
/* rgb */ color: rgb(137, 58, 199);
/* oklch */ color: oklch(52.5% 0.209 306.0);
Tailwind
colors: {
  custom: {
    50: '#b077d9',
    500: '#893ac7',
    950: '#000000',
  },
}
SCSS
$custom: #893ac7;
$custom-light: #b077d9;
$custom-dark: #000000;
JSON
{
  "hex": "#893ac7",
  "rgb": {
    "r": 137,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 273.617,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.2092,
    "h": 306
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#893AC7
secondary
#ABCE8F
accent
#DF498B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #893AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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