#895AEB#895AEB

#895AEB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.208 H 294.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#895AEB
RGBrgb(137, 90, 235)
HSLhsl(259, 78%, 64%)
HSVhsv(259, 62%, 92%)
CMYKcmyk(41.7%, 61.7%, 0%, 7.8%)
CIE-LABlab(50.25, 50.91, -66.74)
CIE-LCHlch(50.25, 83.94, 307.34°)
OKLaboklab(59.29% 0.0849 -0.1904)
OKLCHoklch(59.29% 0.208 294)
XYZxyz(28.9641, 18.6281, 80.6507)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895AEB #BCEB5A
analogous
#5A73EB #895AEB #D15AEB
triadic
#895AEB #EB895A #5AEB89
tetradic
#895AEB #EB5A73 #BCEB5A #5AEBD1
square
#895AEB #EB5A73 #BCEB5A #5AEBD1
split-complementary
#895AEB #EBD15A #73EB5A
monochromatic
#4916B5 #6223E4 #895AEB #B091F2 #D7C7F8

Accessibility & contrast

On white

4.44
#895AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#895AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895AEB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895AEB#FFFFFF#000000##000000
##895AEB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#6F7B9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #895aeb;
/* rgb */ color: rgb(137, 90, 235);
/* oklch */ color: oklch(59.3% 0.208 294.0);
Tailwind
colors: {
  custom: {
    50: '#b28bf2',
    500: '#895aeb',
    950: '#000000',
  },
}
SCSS
$custom: #895aeb;
$custom-light: #b28bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#895aeb",
  "rgb": {
    "r": 137,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 259.448,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59292,
    "c": 0.20845,
    "h": 294
  },
  "luminance": 0.18629
}

Semantic roles & 50–950 ramp

primary
#895AEB
secondary
#D9EAB7
accent
#DB0B97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #895AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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