#894EA2#894EA2

#894EA2 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.8% C 0.140 H 315.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#894EA2
RGBrgb(137, 78, 162)
HSLhsl(282, 35%, 47%)
HSVhsv(282, 52%, 64%)
CMYKcmyk(15.4%, 51.9%, 0%, 36.5%)
CIE-LABlab(43.32, 39.49, -35.66)
CIE-LCHlch(43.32, 53.21, 317.92°)
OKLaboklab(52.79% 0.0992 -0.0993)
OKLCHoklch(52.79% 0.14 315)
XYZxyz(19.5615, 13.3763, 35.7269)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EA2 #67A24E
analogous
#5F4EA2 #894EA2 #A24E91
triadic
#894EA2 #A2894E #4EA289
tetradic
#894EA2 #A25F4E #67A24E #4E91A2
square
#894EA2 #A25F4E #67A24E #4E91A2
split-complementary
#894EA2 #91A24E #4EA25F
monochromatic
#43264F #663A79 #894EA2 #A572BB #C09BCF

Accessibility & contrast

On white

5.71
#894EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#894EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EA2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EA2#FFFFFF#000000##FFFFFF
##894EA21.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A5
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#875B71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #894ea2;
/* rgb */ color: rgb(137, 78, 162);
/* oklch */ color: oklch(52.8% 0.140 315.0);
Tailwind
colors: {
  custom: {
    50: '#ad82be',
    500: '#894ea2',
    950: '#000000',
  },
}
SCSS
$custom: #894ea2;
$custom-light: #ad82be;
$custom-dark: #000000;
JSON
{
  "hex": "#894ea2",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 282.143,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.14038,
    "h": 315
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#894EA2
secondary
#9DBC90
accent
#CB5D7E
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #894EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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