#895DEF#895DEF

#895DEF is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.209 H 292.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#895DEF
RGBrgb(137, 93, 239)
HSLhsl(258, 82%, 65%)
HSVhsv(258, 61%, 94%)
CMYKcmyk(42.7%, 61.1%, 0%, 6.3%)
CIE-LABlab(51.13, 50.36, -67.56)
CIE-LCHlch(51.13, 84.26, 306.70°)
OKLaboklab(60.02% 0.0814 -0.1928)
OKLCHoklch(60.02% 0.209 292.9)
XYZxyz(29.8066, 19.3782, 83.8145)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895DEF #C3EF5D
analogous
#5D7AEF #895DEF #D25DEF
triadic
#895DEF #EF895D #5DEF89
tetradic
#895DEF #EF5D7A #C3EF5D #5DEFD2
square
#895DEF #EF5D7A #C3EF5D #5DEFD2
split-complementary
#895DEF #EFD25D #7AEF5D
monochromatic
#4713BF #6025E9 #895DEF #B295F5 #DACCFA

Accessibility & contrast

On white

4.31
#895DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#895DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895DEF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895DEF#FFFFFF#000000##000000
##895DEF1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#6C7E9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #895def;
/* rgb */ color: rgb(137, 93, 239);
/* oklch */ color: oklch(60.0% 0.209 292.9);
Tailwind
colors: {
  custom: {
    50: '#b28df5',
    500: '#895def',
    950: '#000000',
  },
}
SCSS
$custom: #895def;
$custom-light: #b28df5;
$custom-dark: #000000;
JSON
{
  "hex": "#895def",
  "rgb": {
    "r": 137,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 258.082,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60016,
    "c": 0.20928,
    "h": 292.9
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#895DEF
secondary
#DEEDBB
accent
#DE079E
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #895DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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