#895AEF#895AEF

#895AEF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.213 H 293.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#895AEF
RGBrgb(137, 90, 239)
HSLhsl(259, 82%, 65%)
HSVhsv(259, 62%, 94%)
CMYKcmyk(42.7%, 62.3%, 0%, 6.3%)
CIE-LABlab(50.53, 51.97, -68.53)
CIE-LCHlch(50.53, 86.01, 307.17°)
OKLaboklab(59.58% 0.0846 -0.1957)
OKLCHoklch(59.58% 0.213 293.4)
XYZxyz(29.5485, 18.8619, 83.7285)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895AEF #C0EF5A
analogous
#5A76EF #895AEF #D35AEF
triadic
#895AEF #EF895A #5AEF89
tetradic
#895AEF #EF5A76 #C0EF5A #5AEFD3
square
#895AEF #EF5A76 #C0EF5A #5AEFD3
split-complementary
#895AEF #EFD35A #76EF5A
monochromatic
#4812BC #6122EA #895AEF #B192F4 #D9CAFA

Accessibility & contrast

On white

4.40
#895AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#895AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895AEF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895AEF#FFFFFF#000000##000000
##895AEF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#6D7C9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #895aef;
/* rgb */ color: rgb(137, 90, 239);
/* oklch */ color: oklch(59.6% 0.213 293.4);
Tailwind
colors: {
  custom: {
    50: '#b28bf5',
    500: '#895aef',
    950: '#000000',
  },
}
SCSS
$custom: #895aef;
$custom-light: #b28bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#895aef",
  "rgb": {
    "r": 137,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 258.926,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59579,
    "c": 0.21318,
    "h": 293.4
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#895AEF
secondary
#DCECB9
accent
#DF079B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #895AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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