#895DB2#895DB2

#895DB2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.1% C 0.134 H 306.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#895DB2
RGBrgb(137, 93, 178)
HSLhsl(271, 36%, 53%)
HSVhsv(271, 48%, 70%)
CMYKcmyk(23%, 47.8%, 0%, 30.2%)
CIE-LABlab(47.45, 34.75, -38.58)
CIE-LCHlch(47.45, 51.93, 312.01°)
OKLaboklab(56.12% 0.0797 -0.1079)
OKLCHoklch(56.12% 0.134 306.5)
XYZxyz(22.2651, 16.3616, 44.0960)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895DB2 #86B25D
analogous
#5E5DB2 #895DB2 #B25DB0
triadic
#895DB2 #B2895D #5DB289
tetradic
#895DB2 #B25E5D #86B25D #5DB0B2
square
#895DB2 #B25E5D #86B25D #5DB0B2
split-complementary
#895DB2 #B0B25D #5DB25E
monochromatic
#4B3065 #6A448E #895DB2 #A786C6 #C5B0D9

Accessibility & contrast

On white

4.92
#895DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#895DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895DB2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895DB2#FFFFFF#000000##FFFFFF
##895DB21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#836B7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #895db2;
/* rgb */ color: rgb(137, 93, 178);
/* oklch */ color: oklch(56.1% 0.134 306.5);
Tailwind
colors: {
  custom: {
    50: '#ad8cc9',
    500: '#895db2',
    950: '#000000',
  },
}
SCSS
$custom: #895db2;
$custom-light: #ad8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#895db2",
  "rgb": {
    "r": 137,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 271.059,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56122,
    "c": 0.13411,
    "h": 306.5
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#895DB2
secondary
#B5C8A3
accent
#CC5C92
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #895DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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