#894DD9#894DD9

#894DD9 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.205 H 299.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#894DD9
RGBrgb(137, 77, 217)
HSLhsl(266, 65%, 58%)
HSVhsv(266, 65%, 85%)
CMYKcmyk(36.9%, 64.5%, 0%, 14.9%)
CIE-LABlab(46.49, 53.08, -62.63)
CIE-LCHlch(46.49, 82.09, 310.28°)
OKLaboklab(56.18% 0.1005 -0.1783)
OKLCHoklch(56.18% 0.205 299.4)
XYZxyz(25.4917, 15.6356, 67.3071)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894DD9 #9DD94D
analogous
#4D57D9 #894DD9 #CF4DD9
triadic
#894DD9 #D9894D #4DD989
tetradic
#894DD9 #D94D57 #9DD94D #4DD9CF
square
#894DD9 #D94D57 #9DD94D #4DD9CF
split-complementary
#894DD9 #D9CF4D #57D94D
monochromatic
#4E1E8D #6A29C0 #894DD9 #AA7FE4 #CCB2EF

Accessibility & contrast

On white

5.09
#894DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#894DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894DD9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894DD9#FFFFFF#000000##FFFFFF
##894DD91.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#776D8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #894dd9;
/* rgb */ color: rgb(137, 77, 217);
/* oklch */ color: oklch(56.2% 0.205 299.4);
Tailwind
colors: {
  custom: {
    50: '#b182e6',
    500: '#894dd9',
    950: '#000000',
  },
}
SCSS
$custom: #894dd9;
$custom-light: #b182e6;
$custom-dark: #000000;
JSON
{
  "hex": "#894dd9",
  "rgb": {
    "r": 137,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 265.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.20467,
    "h": 299.4
  },
  "luminance": 0.15636
}

Semantic roles & 50–950 ramp

primary
#894DD9
secondary
#C5DDA5
accent
#E840A0
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #894DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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