#894DC2#894DC2

#894DC2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.179 H 304.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#894DC2
RGBrgb(137, 77, 194)
HSLhsl(271, 49%, 53%)
HSVhsv(271, 60%, 76%)
CMYKcmyk(29.4%, 60.3%, 0%, 23.9%)
CIE-LABlab(44.97, 47.44, -51.84)
CIE-LCHlch(44.97, 70.27, 312.46°)
OKLaboklab(54.59% 0.1019 -0.1466)
OKLCHoklch(54.59% 0.179 304.8)
XYZxyz(22.7059, 14.5213, 52.6352)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894DC2 #86C24D
analogous
#4E4DC2 #894DC2 #C24DC1
triadic
#894DC2 #C2894D #4DC289
tetradic
#894DC2 #C24E4D #86C24D #4DC1C2
square
#894DC2 #C24E4D #86C24D #4DC1C2
split-complementary
#894DC2 #C1C24D #4DC24E
monochromatic
#4B266F #6A369C #894DC2 #A77BD2 #C5A8E1

Accessibility & contrast

On white

5.38
#894DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#894DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894DC2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894DC2#FFFFFF#000000##FFFFFF
##894DC21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1169C6
Deuteranopia (green-blind)
#336ABF
Tritanopia (blue-blind)
#7F6580
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #894dc2;
/* rgb */ color: rgb(137, 77, 194);
/* oklch */ color: oklch(54.6% 0.179 304.8);
Tailwind
colors: {
  custom: {
    50: '#af82d5',
    500: '#894dc2',
    950: '#000000',
  },
}
SCSS
$custom: #894dc2;
$custom-light: #af82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#894dc2",
  "rgb": {
    "r": 137,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 270.769,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54594,
    "c": 0.17855,
    "h": 304.8
  },
  "luminance": 0.14521
}

Semantic roles & 50–950 ramp

primary
#894DC2
secondary
#B5CF9C
accent
#D94F92
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #894DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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