#894FD4#894FD4

#894FD4 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.196 H 300.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#894FD4
RGBrgb(137, 79, 212)
HSLhsl(266, 61%, 57%)
HSVhsv(266, 63%, 83%)
CMYKcmyk(35.4%, 62.7%, 0%, 16.9%)
CIE-LABlab(46.53, 50.80, -59.71)
CIE-LCHlch(46.53, 78.40, 310.39°)
OKLaboklab(56.1% 0.0987 -0.1697)
OKLCHoklch(56.1% 0.196 300.2)
XYZxyz(24.9933, 15.6636, 63.9812)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FD4 #9AD44F
analogous
#4F58D4 #894FD4 #CB4FD4
triadic
#894FD4 #D4894F #4FD489
tetradic
#894FD4 #D44F58 #9AD44F #4FD4CB
square
#894FD4 #D44F58 #9AD44F #4FD4CB
split-complementary
#894FD4 #D4CB4F #58D44F
monochromatic
#4E2187 #6A2DB9 #894FD4 #AA80E0 #CBB1EC

Accessibility & contrast

On white

5.08
#894FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #894FD4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FD4#FFFFFF#000000##FFFFFF
##894FD41.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#186DD1
Tritanopia (blue-blind)
#796C8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #894fd4;
/* rgb */ color: rgb(137, 79, 212);
/* oklch */ color: oklch(56.1% 0.196 300.2);
Tailwind
colors: {
  custom: {
    50: '#b083e2',
    500: '#894fd4',
    950: '#000000',
  },
}
SCSS
$custom: #894fd4;
$custom-light: #b083e2;
$custom-dark: #000000;
JSON
{
  "hex": "#894fd4",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 266.165,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.19633,
    "h": 300.2
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#894FD4
secondary
#C3DAA4
accent
#E4449E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #894FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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