#895BC5#895BC5

#895BC5 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.161 H 301.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#895BC5
RGBrgb(137, 91, 197)
HSLhsl(266, 48%, 56%)
HSVhsv(266, 54%, 77%)
CMYKcmyk(30.5%, 53.8%, 0%, 22.7%)
CIE-LABlab(48.05, 40.55, -48.65)
CIE-LCHlch(48.05, 63.33, 309.81°)
OKLaboklab(56.91% 0.0842 -0.1373)
OKLCHoklch(56.91% 0.161 301.5)
XYZxyz(24.1333, 16.8317, 54.7899)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BC5 #97C55B
analogous
#5B62C5 #895BC5 #BE5BC5
triadic
#895BC5 #C5895B #5BC589
tetradic
#895BC5 #C55B62 #97C55B #5BC5BE
square
#895BC5 #C55B62 #97C55B #5BC5BE
split-complementary
#895BC5 #C5BE5B #62C55B
monochromatic
#4E2B7A #6A3BA8 #895BC5 #AA88D5 #CAB5E5

Accessibility & contrast

On white

4.81
#895BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#895BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895BC5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BC5#FFFFFF#000000##FFFFFF
##895BC51.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3471C9
Deuteranopia (green-blind)
#4272C2
Tritanopia (blue-blind)
#7D6F87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #895bc5;
/* rgb */ color: rgb(137, 91, 197);
/* oklch */ color: oklch(56.9% 0.161 301.5);
Tailwind
colors: {
  custom: {
    50: '#ae8bd7',
    500: '#895bc5',
    950: '#000000',
  },
}
SCSS
$custom: #895bc5;
$custom-light: #ae8bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#895bc5",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 266.038,
    "s": 47.748,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56908,
    "c": 0.16102,
    "h": 301.5
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#895BC5
secondary
#C1D4A8
accent
#D7509D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #895BC5

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

Preview Lab → · Contrast checker → · Palette generator →

#895BC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva