#894FD5#894FD5

#894FD5 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.197 H 300.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#894FD5
RGBrgb(137, 79, 213)
HSLhsl(266, 61%, 57%)
HSVhsv(266, 63%, 84%)
CMYKcmyk(35.7%, 62.9%, 0%, 16.5%)
CIE-LABlab(46.60, 51.05, -60.17)
CIE-LCHlch(46.60, 78.91, 310.31°)
OKLaboklab(56.17% 0.0987 -0.1711)
OKLCHoklch(56.17% 0.197 300)
XYZxyz(25.1198, 15.7142, 64.6476)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FD5 #9BD54F
analogous
#4F58D5 #894FD5 #CC4FD5
triadic
#894FD5 #D5894F #4FD589
tetradic
#894FD5 #D54F58 #9BD54F #4FD5CC
square
#894FD5 #D54F58 #9BD54F #4FD5CC
split-complementary
#894FD5 #D5CC4F #58D54F
monochromatic
#4E2189 #6A2CBA #894FD5 #AA80E1 #CBB2ED

Accessibility & contrast

On white

5.07
#894FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#894FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FD5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FD5#FFFFFF#000000##FFFFFF
##894FD51.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#156DD2
Tritanopia (blue-blind)
#786C8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #894fd5;
/* rgb */ color: rgb(137, 79, 213);
/* oklch */ color: oklch(56.2% 0.197 300.0);
Tailwind
colors: {
  custom: {
    50: '#b083e3',
    500: '#894fd5',
    950: '#000000',
  },
}
SCSS
$custom: #894fd5;
$custom-light: #b083e3;
$custom-dark: #000000;
JSON
{
  "hex": "#894fd5",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 265.97,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.19747,
    "h": 300
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#894FD5
secondary
#C4DBA5
accent
#E5439F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #894FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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