#895BCB#895BCB

#895BCB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.168 H 300.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#895BCB
RGBrgb(137, 91, 203)
HSLhsl(265, 52%, 58%)
HSVhsv(265, 55%, 80%)
CMYKcmyk(32.5%, 55.2%, 0%, 20.4%)
CIE-LABlab(48.40, 42.06, -51.54)
CIE-LCHlch(48.40, 66.52, 309.22°)
OKLaboklab(57.28% 0.0844 -0.1457)
OKLCHoklch(57.28% 0.168 300.1)
XYZxyz(24.8345, 17.1122, 58.4829)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BCB #9DCB5B
analogous
#5B65CB #895BCB #C15BCB
triadic
#895BCB #CB895B #5BCB89
tetradic
#895BCB #CB5B65 #9DCB5B #5BCBC1
square
#895BCB #CB5B65 #9DCB5B #5BCBC1
split-complementary
#895BCB #CBC15B #65CB5B
monochromatic
#4E2982 #6A38B1 #895BCB #AA89DA #CCB8E8

Accessibility & contrast

On white

4.75
#895BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#895BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895BCB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BCB#FFFFFF#000000##FFFFFF
##895BCB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73CF
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#7B718A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #895bcb;
/* rgb */ color: rgb(137, 91, 203);
/* oklch */ color: oklch(57.3% 0.168 300.1);
Tailwind
colors: {
  custom: {
    50: '#af8bdb',
    500: '#895bcb',
    950: '#000000',
  },
}
SCSS
$custom: #895bcb;
$custom-light: #af8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#895bcb",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 264.643,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57284,
    "c": 0.16841,
    "h": 300.1
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

primary
#895BCB
secondary
#C5D7AA
accent
#DB4CA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #895BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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