#894FDB#894FDB

#894FDB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.204 H 298.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#894FDB
RGBrgb(137, 79, 219)
HSLhsl(265, 66%, 58%)
HSVhsv(265, 64%, 86%)
CMYKcmyk(37.4%, 63.9%, 0%, 14.1%)
CIE-LABlab(47.01, 52.56, -62.93)
CIE-LCHlch(47.01, 81.99, 309.87°)
OKLaboklab(56.6% 0.0982 -0.1792)
OKLCHoklch(56.6% 0.204 298.7)
XYZxyz(25.8955, 16.0245, 68.7328)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FDB #A1DB4F
analogous
#4F5BDB #894FDB #CF4FDB
triadic
#894FDB #DB894F #4FDB89
tetradic
#894FDB #DB4F5B #A1DB4F #4FDBCF
square
#894FDB #DB4F5B #A1DB4F #4FDBCF
split-complementary
#894FDB #DBCF4F #5BDB4F
monochromatic
#4E1E92 #6928C5 #894FDB #AB82E5 #CDB5F0

Accessibility & contrast

On white

4.99
#894FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#894FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FDB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FDB#FFFFFF#000000##FFFFFF
##894FDB1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#766F8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #894fdb;
/* rgb */ color: rgb(137, 79, 219);
/* oklch */ color: oklch(56.6% 0.204 298.7);
Tailwind
colors: {
  custom: {
    50: '#b184e7',
    500: '#894fdb',
    950: '#000000',
  },
}
SCSS
$custom: #894fdb;
$custom-light: #b184e7;
$custom-dark: #000000;
JSON
{
  "hex": "#894fdb",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 264.857,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56595,
    "c": 0.20431,
    "h": 298.7
  },
  "luminance": 0.16025
}

Semantic roles & 50–950 ramp

primary
#894FDB
secondary
#C8DFA7
accent
#E93FA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #894FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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