#895BCC#895BCC

#895BCC is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.3% C 0.170 H 299.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#895BCC
RGBrgb(137, 91, 204)
HSLhsl(264, 53%, 58%)
HSVhsv(264, 55%, 80%)
CMYKcmyk(32.8%, 55.4%, 0%, 20%)
CIE-LABlab(48.46, 42.31, -52.02)
CIE-LCHlch(48.46, 67.05, 309.13°)
OKLaboklab(57.35% 0.0844 -0.1471)
OKLCHoklch(57.35% 0.17 299.9)
XYZxyz(24.9541, 17.1600, 59.1126)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BCC #9ECC5B
analogous
#5B65CC #895BCC #C25BCC
triadic
#895BCC #CC895B #5BCC89
tetradic
#895BCC #CC5B65 #9ECC5B #5BCCC2
square
#895BCC #CC5B65 #9ECC5B #5BCCC2
split-complementary
#895BCC #CCC25B #65CC5B
monochromatic
#4E2984 #6937B2 #895BCC #AB8ADB #CCB8E9

Accessibility & contrast

On white

4.74
#895BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#895BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895BCC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BCC#FFFFFF#000000##FFFFFF
##895BCC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D0
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#7B728B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #895bcc;
/* rgb */ color: rgb(137, 91, 204);
/* oklch */ color: oklch(57.3% 0.170 299.9);
Tailwind
colors: {
  custom: {
    50: '#af8bdc',
    500: '#895bcc',
    950: '#000000',
  },
}
SCSS
$custom: #895bcc;
$custom-light: #af8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#895bcc",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 264.425,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57347,
    "c": 0.16964,
    "h": 299.9
  },
  "luminance": 0.1716
}

Semantic roles & 50–950 ramp

primary
#895BCC
secondary
#C6D8AB
accent
#DC4CA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #895BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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