#894FD6#894FD6

#894FD6 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.199 H 299.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#894FD6
RGBrgb(137, 79, 214)
HSLhsl(266, 62%, 57%)
HSVhsv(266, 63%, 84%)
CMYKcmyk(36%, 63.1%, 0%, 16.1%)
CIE-LABlab(46.66, 51.30, -60.63)
CIE-LCHlch(46.66, 79.43, 310.24°)
OKLaboklab(56.24% 0.0986 -0.1724)
OKLCHoklch(56.24% 0.199 299.8)
XYZxyz(25.2471, 15.7651, 65.3181)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FD6 #9CD64F
analogous
#4F58D6 #894FD6 #CD4FD6
triadic
#894FD6 #D6894F #4FD689
tetradic
#894FD6 #D64F58 #9CD64F #4FD6CD
square
#894FD6 #D64F58 #9CD64F #4FD6CD
split-complementary
#894FD6 #D6CD4F #58D64F
monochromatic
#4E208A #6A2CBC #894FD6 #AA81E2 #CCB2ED

Accessibility & contrast

On white

5.06
#894FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#894FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FD6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FD6#FFFFFF#000000##FFFFFF
##894FD61.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#126ED3
Tritanopia (blue-blind)
#786D8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #894fd6;
/* rgb */ color: rgb(137, 79, 214);
/* oklch */ color: oklch(56.2% 0.199 299.8);
Tailwind
colors: {
  custom: {
    50: '#b083e3',
    500: '#894fd6',
    950: '#000000',
  },
}
SCSS
$custom: #894fd6;
$custom-light: #b083e3;
$custom-dark: #000000;
JSON
{
  "hex": "#894fd6",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 265.778,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.19861,
    "h": 299.8
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#894FD6
secondary
#C4DCA5
accent
#E5439F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #894FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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