#895DB4#895DB4

#895DB4 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.137 H 305.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#895DB4
RGBrgb(137, 93, 180)
HSLhsl(270, 37%, 54%)
HSVhsv(270, 48%, 71%)
CMYKcmyk(23.9%, 48.3%, 0%, 29.4%)
CIE-LABlab(47.55, 35.23, -39.58)
CIE-LCHlch(47.55, 52.99, 311.67°)
OKLaboklab(56.23% 0.0799 -0.1108)
OKLCHoklch(56.23% 0.137 305.8)
XYZxyz(22.4674, 16.4425, 45.1613)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895DB4 #88B45D
analogous
#5D5DB4 #895DB4 #B45DB3
triadic
#895DB4 #B4895D #5DB489
tetradic
#895DB4 #B45D5D #88B45D #5DB3B4
square
#895DB4 #B45D5D #88B45D #5DB3B4
split-complementary
#895DB4 #B3B45D #5DB45D
monochromatic
#4C3067 #6A4391 #895DB4 #A787C7 #C6B1DB

Accessibility & contrast

On white

4.90
#895DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#895DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895DB4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895DB4#FFFFFF#000000##FFFFFF
##895DB41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456FB7
Deuteranopia (green-blind)
#5171B2
Tritanopia (blue-blind)
#826C80
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #895db4;
/* rgb */ color: rgb(137, 93, 180);
/* oklch */ color: oklch(56.2% 0.137 305.8);
Tailwind
colors: {
  custom: {
    50: '#ad8ccb',
    500: '#895db4',
    950: '#000000',
  },
}
SCSS
$custom: #895db4;
$custom-light: #ad8ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#895db4",
  "rgb": {
    "r": 137,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 270.345,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.13661,
    "h": 305.8
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#895DB4
secondary
#B6C9A4
accent
#CD5B93
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #895DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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