#895EB7#895EB7

#895EB7 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.139 H 304.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#895EB7
RGBrgb(137, 94, 183)
HSLhsl(269, 38%, 54%)
HSVhsv(269, 49%, 72%)
CMYKcmyk(25.1%, 48.6%, 0%, 28.2%)
CIE-LABlab(47.93, 35.39, -40.72)
CIE-LCHlch(47.93, 53.95, 310.99°)
OKLaboklab(56.57% 0.0789 -0.1141)
OKLCHoklch(56.57% 0.139 304.7)
XYZxyz(22.8647, 16.7428, 46.8177)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895EB7 #8CB75E
analogous
#5E60B7 #895EB7 #B65EB7
triadic
#895EB7 #B7895E #5EB789
tetradic
#895EB7 #B75E60 #8CB75E #5EB7B6
square
#895EB7 #B75E60 #8CB75E #5EB7B6
split-complementary
#895EB7 #B7B65E #60B75E
monochromatic
#4C306B #6B4395 #895EB7 #A888CA #C7B3DD

Accessibility & contrast

On white

4.83
#895EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#895EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895EB7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895EB7#FFFFFF#000000##FFFFFF
##895EB71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#5072B5
Tritanopia (blue-blind)
#816E82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #895eb7;
/* rgb */ color: rgb(137, 94, 183);
/* oklch */ color: oklch(56.6% 0.139 304.7);
Tailwind
colors: {
  custom: {
    50: '#ad8dcd',
    500: '#895eb7',
    950: '#000000',
  },
}
SCSS
$custom: #895eb7;
$custom-light: #ad8dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#895eb7",
  "rgb": {
    "r": 137,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 268.989,
    "s": 38.197,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56572,
    "c": 0.13872,
    "h": 304.7
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#895EB7
secondary
#B9CBA6
accent
#CE5A96
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #895EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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