#894DCB#894DCB

#894DCB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.189 H 302.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#894DCB
RGBrgb(137, 77, 203)
HSLhsl(269, 55%, 55%)
HSVhsv(269, 62%, 80%)
CMYKcmyk(32.5%, 62.1%, 0%, 20.4%)
CIE-LABlab(45.55, 49.62, -56.12)
CIE-LCHlch(45.55, 74.91, 311.48°)
OKLaboklab(55.2% 0.1016 -0.1592)
OKLCHoklch(55.2% 0.189 302.6)
XYZxyz(23.7474, 14.9379, 58.1206)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894DCB #8FCB4D
analogous
#4D50CB #894DCB #C84DCB
triadic
#894DCB #CB894D #4DCB89
tetradic
#894DCB #CB4D50 #8FCB4D #4DCBC8
square
#894DCB #CB4D50 #8FCB4D #4DCBC8
split-complementary
#894DCB #CBC84D #50CB4D
monochromatic
#4D247A #6B31A9 #894DCB #A87CD9 #C8ACE7

Accessibility & contrast

On white

5.27
#894DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#894DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894DCB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894DCB#FFFFFF#000000##FFFFFF
##894DCB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#7C6885
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #894dcb;
/* rgb */ color: rgb(137, 77, 203);
/* oklch */ color: oklch(55.2% 0.189 302.6);
Tailwind
colors: {
  custom: {
    50: '#b082dc',
    500: '#894dcb',
    950: '#000000',
  },
}
SCSS
$custom: #894dcb;
$custom-light: #b082dc;
$custom-dark: #000000;
JSON
{
  "hex": "#894dcb",
  "rgb": {
    "r": 137,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 268.571,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55198,
    "c": 0.18881,
    "h": 302.6
  },
  "luminance": 0.14938
}

Semantic roles & 50–950 ramp

primary
#894DCB
secondary
#BBD49F
accent
#DE4A97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #894DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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