#895BD7#895BD7

#895BD7 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.183 H 297.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#895BD7
RGBrgb(137, 91, 215)
HSLhsl(262, 61%, 60%)
HSVhsv(262, 58%, 84%)
CMYKcmyk(36.3%, 57.7%, 0%, 15.7%)
CIE-LABlab(49.14, 45.13, -57.22)
CIE-LCHlch(49.14, 72.88, 308.27°)
OKLaboklab(58.06% 0.0846 -0.1624)
OKLCHoklch(58.06% 0.183 297.5)
XYZxyz(26.3203, 17.7065, 66.3078)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BD7 #A9D75B
analogous
#5B6BD7 #895BD7 #C75BD7
triadic
#895BD7 #D7895B #5BD789
tetradic
#895BD7 #D75B6B #A9D75B #5BD7C7
square
#895BD7 #D75B6B #A9D75B #5BD7C7
split-complementary
#895BD7 #D7C75B #6BD75B
monochromatic
#4D2494 #6730C5 #895BD7 #AC8CE3 #D0BDEF

Accessibility & contrast

On white

4.62
#895BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#895BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #895BD7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BD7#FFFFFF#000000##FFFFFF
##895BD71.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1875DB
Deuteranopia (green-blind)
#2E73D4
Tritanopia (blue-blind)
#777590
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #895bd7;
/* rgb */ color: rgb(137, 91, 215);
/* oklch */ color: oklch(58.1% 0.183 297.5);
Tailwind
colors: {
  custom: {
    50: '#b08be4',
    500: '#895bd7',
    950: '#000000',
  },
}
SCSS
$custom: #895bd7;
$custom-light: #b08be4;
$custom-dark: #000000;
JSON
{
  "hex": "#895bd7",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 262.258,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.58062,
    "c": 0.18309,
    "h": 297.5
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#895BD7
secondary
#CDDFAF
accent
#E444A9
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #895BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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