#894DBC#894DBC

#894DBC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.172 H 306.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#894DBC
RGBrgb(137, 77, 188)
HSLhsl(272, 45%, 52%)
HSVhsv(272, 59%, 74%)
CMYKcmyk(27.1%, 59%, 0%, 26.3%)
CIE-LABlab(44.60, 46.00, -48.95)
CIE-LCHlch(44.60, 67.17, 313.22°)
OKLaboklab(54.2% 0.102 -0.1381)
OKLCHoklch(54.2% 0.172 306.5)
XYZxyz(22.0456, 14.2572, 49.1577)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894DBC #80BC4D
analogous
#524DBC #894DBC #BC4DB8
triadic
#894DBC #BC894D #4DBC89
tetradic
#894DBC #BC524D #80BC4D #4DB8BC
square
#894DBC #BC524D #80BC4D #4DB8BC
split-complementary
#894DBC #B8BC4D #4DBC52
monochromatic
#4A2768 #6A3894 #894DBC #A679CD #C4A6DD

Accessibility & contrast

On white

5.45
#894DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#894DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894DBC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894DBC#FFFFFF#000000##FFFFFF
##894DBC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#81637D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894dbc;
/* rgb */ color: rgb(137, 77, 188);
/* oklch */ color: oklch(54.2% 0.172 306.5);
Tailwind
colors: {
  custom: {
    50: '#af82d1',
    500: '#894dbc',
    950: '#000000',
  },
}
SCSS
$custom: #894dbc;
$custom-light: #af82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#894dbc",
  "rgb": {
    "r": 137,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 272.432,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54203,
    "c": 0.17168,
    "h": 306.5
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#894DBC
secondary
#B0CB9A
accent
#D5538F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #894DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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