#895DB5#895DB5

#895DB5 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.3% C 0.138 H 305.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#895DB5
RGBrgb(137, 93, 181)
HSLhsl(270, 37%, 54%)
HSVhsv(270, 49%, 71%)
CMYKcmyk(24.3%, 48.6%, 0%, 29%)
CIE-LABlab(47.60, 35.47, -40.08)
CIE-LCHlch(47.60, 53.53, 311.51°)
OKLaboklab(56.29% 0.0801 -0.1122)
OKLCHoklch(56.29% 0.138 305.5)
XYZxyz(22.5696, 16.4834, 45.6997)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895DB5 #89B55D
analogous
#5D5DB5 #895DB5 #B55DB5
triadic
#895DB5 #B5895D #5DB589
tetradic
#895DB5 #B55D5D #89B55D #5DB5B5
square
#895DB5 #B55D5D #89B55D #5DB5B5
split-complementary
#895DB5 #B5B55D #5DB55D
monochromatic
#4C3068 #6A4392 #895DB5 #A887C8 #C6B1DB

Accessibility & contrast

On white

4.89
#895DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#895DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895DB5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895DB5#FFFFFF#000000##FFFFFF
##895DB51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4470B8
Deuteranopia (green-blind)
#5071B3
Tritanopia (blue-blind)
#826C80
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #895db5;
/* rgb */ color: rgb(137, 93, 181);
/* oklch */ color: oklch(56.3% 0.138 305.5);
Tailwind
colors: {
  custom: {
    50: '#ad8ccb',
    500: '#895db5',
    950: '#000000',
  },
}
SCSS
$custom: #895db5;
$custom-light: #ad8ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#895db5",
  "rgb": {
    "r": 137,
    "g": 93,
    "b": 181
  },
  "hsl": {
    "h": 270,
    "s": 37.288,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.13787,
    "h": 305.5
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

primary
#895DB5
secondary
#B7CAA4
accent
#CD5B94
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #895DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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