#893EC3#893EC3

#893EC3 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.200 H 306.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#893EC3
RGBrgb(137, 62, 195)
HSLhsl(274, 53%, 50%)
HSVhsv(274, 68%, 76%)
CMYKcmyk(29.7%, 68.2%, 0%, 23.5%)
CIE-LABlab(42.31, 55.12, -56.70)
CIE-LCHlch(42.31, 79.08, 314.19°)
OKLaboklab(52.7% 0.1192 -0.1608)
OKLCHoklch(52.7% 0.2 306.6)
XYZxyz(21.8874, 12.7040, 52.9182)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EC3 #78C33E
analogous
#473EC3 #893EC3 #C33EBA
triadic
#893EC3 #C3893E #3EC389
tetradic
#893EC3 #C3473E #78C33E #3EBAC3
square
#893EC3 #C3473E #78C33E #3EBAC3
split-complementary
#893EC3 #BAC33E #3EC347
monochromatic
#482067 #682E95 #893EC3 #A66DD2 #C29BE0

Accessibility & contrast

On white

5.93
#893EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#893EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EC3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EC3#FFFFFF#000000##FFFFFF
##893EC31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#1864C0
Tritanopia (blue-blind)
#7F5B7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893ec3;
/* rgb */ color: rgb(137, 62, 195);
/* oklch */ color: oklch(52.7% 0.200 306.6);
Tailwind
colors: {
  custom: {
    50: '#b079d6',
    500: '#893ec3',
    950: '#000000',
  },
}
SCSS
$custom: #893ec3;
$custom-light: #b079d6;
$custom-dark: #000000;
JSON
{
  "hex": "#893ec3",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 273.835,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.20017,
    "h": 306.6
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

primary
#893EC3
secondary
#ABCC91
accent
#DC4C8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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