#894FAF#894FAF

#894FAF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.154 H 310.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#894FAF
RGBrgb(137, 79, 175)
HSLhsl(276, 38%, 50%)
HSVhsv(276, 55%, 69%)
CMYKcmyk(21.7%, 54.9%, 0%, 31.4%)
CIE-LABlab(44.24, 41.88, -41.90)
CIE-LCHlch(44.24, 59.25, 314.99°)
OKLaboklab(53.69% 0.099 -0.1175)
OKLCHoklch(53.69% 0.154 310.1)
XYZxyz(20.8489, 14.0059, 42.1542)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FAF #75AF4F
analogous
#594FAF #894FAF #AF4FA5
triadic
#894FAF #AF894F #4FAF89
tetradic
#894FAF #AF594F #75AF4F #4FA5AF
square
#894FAF #AF594F #75AF4F #4FA5AF
split-complementary
#894FAF #A5AF4F #4FAF59
monochromatic
#47295B #683C85 #894FAF #A579C2 #C1A3D5

Accessibility & contrast

On white

5.52
#894FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#894FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FAF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FAF#FFFFFF#000000##FFFFFF
##894FAF1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#846077
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894faf;
/* rgb */ color: rgb(137, 79, 175);
/* oklch */ color: oklch(53.7% 0.154 310.1);
Tailwind
colors: {
  custom: {
    50: '#ae83c7',
    500: '#894faf',
    950: '#000000',
  },
}
SCSS
$custom: #894faf;
$custom-light: #ae83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#894faf",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 276.25,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.15361,
    "h": 310.1
  },
  "luminance": 0.14005
}

Semantic roles & 50–950 ramp

primary
#894FAF
secondary
#A8C397
accent
#CE5A88
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #894FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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