#895BB5#895BB5

#895BB5 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.141 H 305.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#895BB5
RGBrgb(137, 91, 181)
HSLhsl(271, 38%, 53%)
HSVhsv(271, 50%, 71%)
CMYKcmyk(24.3%, 49.7%, 0%, 29%)
CIE-LABlab(47.15, 36.61, -40.79)
CIE-LCHlch(47.15, 54.82, 311.91°)
OKLaboklab(55.96% 0.0829 -0.1143)
OKLCHoklch(55.96% 0.141 305.9)
XYZxyz(22.3964, 16.1369, 45.6420)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BB5 #87B55B
analogous
#5C5BB5 #895BB5 #B55BB4
triadic
#895BB5 #B5895B #5BB589
tetradic
#895BB5 #B55C5B #87B55B #5BB4B5
square
#895BB5 #B55C5B #87B55B #5BB4B5
split-complementary
#895BB5 #B4B55B #5BB55C
monochromatic
#4B2F67 #6A4291 #895BB5 #A785C8 #C6AFDB

Accessibility & contrast

On white

4.97
#895BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#895BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895BB5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BB5#FFFFFF#000000##FFFFFF
##895BB51.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416EB8
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#826B7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #895bb5;
/* rgb */ color: rgb(137, 91, 181);
/* oklch */ color: oklch(56.0% 0.141 305.9);
Tailwind
colors: {
  custom: {
    50: '#ae8bcb',
    500: '#895bb5',
    950: '#000000',
  },
}
SCSS
$custom: #895bb5;
$custom-light: #ae8bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#895bb5",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 270.667,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.14119,
    "h": 305.9
  },
  "luminance": 0.16137
}

Semantic roles & 50–950 ramp

primary
#895BB5
secondary
#B5C9A3
accent
#CE5A93
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #895BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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