#894FCB#894FCB

#894FCB is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.5% C 0.186 H 302.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#894FCB
RGBrgb(137, 79, 203)
HSLhsl(268, 54%, 55%)
HSVhsv(268, 61%, 80%)
CMYKcmyk(32.5%, 61.1%, 0%, 20.4%)
CIE-LABlab(45.94, 48.57, -55.49)
CIE-LCHlch(45.94, 73.75, 311.20°)
OKLaboklab(55.48% 0.0992 -0.1573)
OKLCHoklch(55.48% 0.186 302.2)
XYZxyz(23.8895, 15.2221, 58.1679)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FCB #91CB4F
analogous
#4F53CB #894FCB #C74FCB
triadic
#894FCB #CB894F #4FCB89
tetradic
#894FCB #CB4F53 #91CB4F #4FCBC7
square
#894FCB #CB4F53 #91CB4F #4FCBC7
split-complementary
#894FCB #CBC74F #53CB4F
monochromatic
#4D247B #6B32AA #894FCB #A97ED9 #C8ADE7

Accessibility & contrast

On white

5.19
#894FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#894FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FCB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FCB#FFFFFF#000000##FFFFFF
##894FCB1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#7C6986
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #894fcb;
/* rgb */ color: rgb(137, 79, 203);
/* oklch */ color: oklch(55.5% 0.186 302.2);
Tailwind
colors: {
  custom: {
    50: '#b083db',
    500: '#894fcb',
    950: '#000000',
  },
}
SCSS
$custom: #894fcb;
$custom-light: #b083db;
$custom-dark: #000000;
JSON
{
  "hex": "#894fcb",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 268.065,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5548,
    "c": 0.186,
    "h": 302.2
  },
  "luminance": 0.15222
}

Semantic roles & 50–950 ramp

primary
#894FCB
secondary
#BDD5A1
accent
#DE4A99
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #894FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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