#893FAF#893FAF

#893FAF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.178 H 312.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#893FAF
RGBrgb(137, 63, 175)
HSLhsl(280, 47%, 47%)
HSVhsv(280, 64%, 69%)
CMYKcmyk(21.7%, 64%, 0%, 31.4%)
CIE-LABlab(41.17, 50.14, -46.81)
CIE-LCHlch(41.17, 68.60, 316.97°)
OKLaboklab(51.45% 0.1196 -0.1318)
OKLCHoklch(51.45% 0.178 312.2)
XYZxyz(19.8305, 11.9690, 41.8147)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FAF #65AF3F
analogous
#513FAF #893FAF #AF3F9D
triadic
#893FAF #AF893F #3FAF89
tetradic
#893FAF #AF513F #65AF3F #3F9DAF
square
#893FAF #AF513F #65AF3F #3F9DAF
split-complementary
#893FAF #9DAF3F #3FAF51
monochromatic
#431F55 #662F82 #893FAF #A664C7 #C091D7

Accessibility & contrast

On white

6.19
#893FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#893FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FAF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FAF#FFFFFF#000000##FFFFFF
##893FAF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095DB2
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#855571
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893faf;
/* rgb */ color: rgb(137, 63, 175);
/* oklch */ color: oklch(51.5% 0.178 312.2);
Tailwind
colors: {
  custom: {
    50: '#af79c7',
    500: '#893faf',
    950: '#000000',
  },
}
SCSS
$custom: #893faf;
$custom-light: #af79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#893faf",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 279.643,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51451,
    "c": 0.17797,
    "h": 312.2
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #893FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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