#895EB5#895EB5

#895EB5 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.136 H 305.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#895EB5
RGBrgb(137, 94, 181)
HSLhsl(270, 37%, 54%)
HSVhsv(270, 48%, 71%)
CMYKcmyk(24.3%, 48.1%, 0%, 29%)
CIE-LABlab(47.83, 34.90, -39.73)
CIE-LCHlch(47.83, 52.88, 311.30°)
OKLaboklab(56.46% 0.0787 -0.1112)
OKLCHoklch(56.46% 0.136 305.3)
XYZxyz(22.6580, 16.6601, 45.7292)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895EB5 #8AB55E
analogous
#5E5FB5 #895EB5 #B55EB5
triadic
#895EB5 #B5895E #5EB589
tetradic
#895EB5 #B55E5F #8AB55E #5EB5B5
square
#895EB5 #B55E5F #8AB55E #5EB5B5
split-complementary
#895EB5 #B5B55E #5FB55E
monochromatic
#4C3069 #6A4392 #895EB5 #A888C8 #C6B2DC

Accessibility & contrast

On white

4.85
#895EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#895EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895EB5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895EB5#FFFFFF#000000##FFFFFF
##895EB51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4670B8
Deuteranopia (green-blind)
#5172B3
Tritanopia (blue-blind)
#826D81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #895eb5;
/* rgb */ color: rgb(137, 94, 181);
/* oklch */ color: oklch(56.5% 0.136 305.3);
Tailwind
colors: {
  custom: {
    50: '#ad8dcb',
    500: '#895eb5',
    950: '#000000',
  },
}
SCSS
$custom: #895eb5;
$custom-light: #ad8dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#895eb5",
  "rgb": {
    "r": 137,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 269.655,
    "s": 37.021,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.13621,
    "h": 305.3
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#895EB5
secondary
#B8CAA5
accent
#CD5B95
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #895EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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