#893EAF#893EAF

#893EAF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.179 H 312.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#893EAF
RGBrgb(137, 62, 175)
HSLhsl(280, 48%, 46%)
HSVhsv(280, 65%, 69%)
CMYKcmyk(21.7%, 64.6%, 0%, 31.4%)
CIE-LABlab(40.99, 50.63, -47.09)
CIE-LCHlch(40.99, 69.14, 317.07°)
OKLaboklab(51.33% 0.1208 -0.1326)
OKLCHoklch(51.33% 0.179 312.3)
XYZxyz(19.7756, 11.8593, 41.7965)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EAF #64AF3E
analogous
#513EAF #893EAF #AF3E9D
triadic
#893EAF #AF893E #3EAF89
tetradic
#893EAF #AF513E #64AF3E #3E9DAF
square
#893EAF #AF513E #64AF3E #3E9DAF
split-complementary
#893EAF #9DAF3E #3EAF51
monochromatic
#421E55 #662E82 #893EAF #A663C8 #BF90D8

Accessibility & contrast

On white

6.23
#893EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#893EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EAF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EAF#FFFFFF#000000##FFFFFF
##893EAF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035DB2
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#855471
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893eaf;
/* rgb */ color: rgb(137, 62, 175);
/* oklch */ color: oklch(51.3% 0.179 312.3);
Tailwind
colors: {
  custom: {
    50: '#af78c7',
    500: '#893eaf',
    950: '#000000',
  },
}
SCSS
$custom: #893eaf;
$custom-light: #af78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#893eaf",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 279.823,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51325,
    "c": 0.17937,
    "h": 312.3
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#893EAF
secondary
#9BC386
accent
#D7517E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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