#895ECD#895ECD

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

Color values

HEX#895ECD
RGBrgb(137, 94, 205)
HSLhsl(263, 53%, 59%)
HSVhsv(263, 54%, 80%)
CMYKcmyk(33.2%, 54.1%, 0%, 19.6%)
CIE-LABlab(49.17, 40.89, -51.46)
CIE-LCHlch(49.17, 65.72, 308.47°)
OKLaboklab(57.89% 0.0807 -0.1455)
OKLCHoklch(57.89% 0.166 299)
XYZxyz(25.3360, 17.7313, 59.8334)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895ECD #A2CD5E
analogous
#5E6ACD #895ECD #C05ECD
triadic
#895ECD #CD895E #5ECD89
tetradic
#895ECD #CD5E6A #A2CD5E #5ECDC0
square
#895ECD #CD5E6A #A2CD5E #5ECDC0
split-complementary
#895ECD #CDC05E #6ACD5E
monochromatic
#4E2A87 #6938B5 #895ECD #AB8DDC #CDBBEA

Accessibility & contrast

On white

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

On black

4.55
#895ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##895ECD#FFFFFF#000000##FFFFFF
##895ECD1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#7B748C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #895ecd;
/* rgb */ color: rgb(137, 94, 205);
/* oklch */ color: oklch(57.9% 0.166 299.0);
Tailwind
colors: {
  custom: {
    50: '#af8ddd',
    500: '#895ecd',
    950: '#000000',
  },
}
SCSS
$custom: #895ecd;
$custom-light: #af8ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#895ecd",
  "rgb": {
    "r": 137,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 263.243,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57888,
    "c": 0.16635,
    "h": 299
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#895ECD
secondary
#C8D9AD
accent
#DC4CA4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #895ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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