#895BEF#895BEF

#895BEF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.212 H 293.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#895BEF
RGBrgb(137, 91, 239)
HSLhsl(259, 82%, 65%)
HSVhsv(259, 62%, 94%)
CMYKcmyk(42.7%, 61.9%, 0%, 6.3%)
CIE-LABlab(50.72, 51.44, -68.21)
CIE-LCHlch(50.72, 85.43, 307.02°)
OKLaboklab(59.72% 0.0835 -0.1947)
OKLCHoklch(59.72% 0.212 293.2)
XYZxyz(29.6334, 19.0317, 83.7568)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BEF #C1EF5B
analogous
#5B77EF #895BEF #D35BEF
triadic
#895BEF #EF895B #5BEF89
tetradic
#895BEF #EF5B77 #C1EF5B #5BEFD3
square
#895BEF #EF5B77 #C1EF5B #5BEFD3
split-complementary
#895BEF #EFD35B #77EF5B
monochromatic
#4812BD #6123EA #895BEF #B193F4 #D9CBFA

Accessibility & contrast

On white

4.37
#895BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#895BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895BEF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BEF#FFFFFF#000000##000000
##895BEF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#6D7D9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #895bef;
/* rgb */ color: rgb(137, 91, 239);
/* oklch */ color: oklch(59.7% 0.212 293.2);
Tailwind
colors: {
  custom: {
    50: '#b28cf5',
    500: '#895bef',
    950: '#000000',
  },
}
SCSS
$custom: #895bef;
$custom-light: #b28cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#895bef",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 258.649,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.21188,
    "h": 293.2
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#895BEF
secondary
#DDECBA
accent
#DF079C
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #895BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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