#895BD9#895BD9

#895BD9 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.186 H 297.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#895BD9
RGBrgb(137, 91, 217)
HSLhsl(262, 62%, 60%)
HSVhsv(262, 58%, 85%)
CMYKcmyk(36.9%, 58.1%, 0%, 14.9%)
CIE-LABlab(49.26, 45.65, -58.15)
CIE-LCHlch(49.26, 73.93, 308.13°)
OKLaboklab(58.19% 0.0845 -0.1651)
OKLCHoklch(58.19% 0.186 297.1)
XYZxyz(26.5788, 17.8099, 67.6695)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BD9 #ABD95B
analogous
#5B6CD9 #895BD9 #C85BD9
triadic
#895BD9 #D9895B #5BD989
tetradic
#895BD9 #D95B6C #ABD95B #5BD9C8
square
#895BD9 #D95B6C #ABD95B #5BD9C8
split-complementary
#895BD9 #D9C85B #6CD95B
monochromatic
#4D2397 #672EC8 #895BD9 #AD8DE5 #D1BEF0

Accessibility & contrast

On white

4.60
#895BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#895BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #895BD9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BD9#FFFFFF#000000##FFFFFF
##895BD91.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1276DD
Deuteranopia (green-blind)
#2B74D6
Tritanopia (blue-blind)
#767691
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #895bd9;
/* rgb */ color: rgb(137, 91, 217);
/* oklch */ color: oklch(58.2% 0.186 297.1);
Tailwind
colors: {
  custom: {
    50: '#b08be5',
    500: '#895bd9',
    950: '#000000',
  },
}
SCSS
$custom: #895bd9;
$custom-light: #b08be5;
$custom-dark: #000000;
JSON
{
  "hex": "#895bd9",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 261.905,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.18552,
    "h": 297.1
  },
  "luminance": 0.1781
}

Semantic roles & 50–950 ramp

primary
#895BD9
secondary
#CEE0B0
accent
#CA1B8A
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #895BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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