#895BB2#895BB2

#895BB2 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.137 H 306.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#895BB2
RGBrgb(137, 91, 178)
HSLhsl(272, 36%, 53%)
HSVhsv(272, 49%, 70%)
CMYKcmyk(23%, 48.9%, 0%, 30.2%)
CIE-LABlab(46.99, 35.89, -39.30)
CIE-LCHlch(46.99, 53.22, 312.41°)
OKLaboklab(55.79% 0.0825 -0.1099)
OKLCHoklch(55.79% 0.137 306.9)
XYZxyz(22.0919, 16.0151, 44.0383)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BB2 #84B25B
analogous
#5D5BB2 #895BB2 #B25BB0
triadic
#895BB2 #B2895B #5BB289
tetradic
#895BB2 #B25D5B #84B25B #5BB0B2
square
#895BB2 #B25D5B #84B25B #5BB0B2
split-complementary
#895BB2 #B0B25B #5BB25D
monochromatic
#4B2F64 #6A428D #895BB2 #A785C6 #C5AED9

Accessibility & contrast

On white

5.00
#895BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#895BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895BB2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BB2#FFFFFF#000000##FFFFFF
##895BB21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#836A7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #895bb2;
/* rgb */ color: rgb(137, 91, 178);
/* oklch */ color: oklch(55.8% 0.137 306.9);
Tailwind
colors: {
  custom: {
    50: '#ad8ac9',
    500: '#895bb2',
    950: '#000000',
  },
}
SCSS
$custom: #895bb2;
$custom-light: #ad8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#895bb2",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 271.724,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55786,
    "c": 0.13747,
    "h": 306.9
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

primary
#895BB2
secondary
#B3C7A2
accent
#CC5C91
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #895BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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