#894FD9#894FD9

#894FD9 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.202 H 299.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#894FD9
RGBrgb(137, 79, 217)
HSLhsl(265, 64%, 58%)
HSVhsv(265, 64%, 85%)
CMYKcmyk(36.9%, 63.6%, 0%, 14.9%)
CIE-LABlab(46.87, 52.06, -62.02)
CIE-LCHlch(46.87, 80.97, 310.01°)
OKLaboklab(56.45% 0.0983 -0.1765)
OKLCHoklch(56.45% 0.202 299.1)
XYZxyz(25.6338, 15.9198, 67.3545)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FD9 #9FD94F
analogous
#4F5AD9 #894FD9 #CE4FD9
triadic
#894FD9 #D9894F #4FD989
tetradic
#894FD9 #D94F5A #9FD94F #4FD9CE
square
#894FD9 #D94F5A #9FD94F #4FD9CE
split-complementary
#894FD9 #D9CE4F #5AD94F
monochromatic
#4E1F8F #692AC1 #894FD9 #AB81E4 #CCB4EF

Accessibility & contrast

On white

5.02
#894FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#894FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FD9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FD9#FFFFFF#000000##FFFFFF
##894FD91.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#036ED6
Tritanopia (blue-blind)
#776E8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #894fd9;
/* rgb */ color: rgb(137, 79, 217);
/* oklch */ color: oklch(56.5% 0.202 299.1);
Tailwind
colors: {
  custom: {
    50: '#b183e6',
    500: '#894fd9',
    950: '#000000',
  },
}
SCSS
$custom: #894fd9;
$custom-light: #b183e6;
$custom-dark: #000000;
JSON
{
  "hex": "#894fd9",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 265.217,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.20204,
    "h": 299.1
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#894FD9
secondary
#C6DDA6
accent
#E740A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #894FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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