#895CEF#895CEF

#895CEF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.211 H 293.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#895CEF
RGBrgb(137, 92, 239)
HSLhsl(258, 82%, 65%)
HSVhsv(258, 62%, 94%)
CMYKcmyk(42.7%, 61.5%, 0%, 6.3%)
CIE-LABlab(50.92, 50.90, -67.89)
CIE-LCHlch(50.92, 84.85, 306.86°)
OKLaboklab(59.87% 0.0825 -0.1938)
OKLCHoklch(59.87% 0.211 293.1)
XYZxyz(29.7194, 19.2038, 83.7855)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895CEF #C2EF5C
analogous
#5C79EF #895CEF #D25CEF
triadic
#895CEF #EF895C #5CEF89
tetradic
#895CEF #EF5C79 #C2EF5C #5CEFD2
square
#895CEF #EF5C79 #C2EF5C #5CEFD2
split-complementary
#895CEF #EFD25C #79EF5C
monochromatic
#4713BE #6124EA #895CEF #B194F4 #DACBFA

Accessibility & contrast

On white

4.34
#895CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#895CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895CEF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895CEF#FFFFFF#000000##000000
##895CEF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #895cef;
/* rgb */ color: rgb(137, 92, 239);
/* oklch */ color: oklch(59.9% 0.211 293.1);
Tailwind
colors: {
  custom: {
    50: '#b28cf5',
    500: '#895cef',
    950: '#000000',
  },
}
SCSS
$custom: #895cef;
$custom-light: #b28cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#895cef",
  "rgb": {
    "r": 137,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 258.367,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59869,
    "c": 0.21058,
    "h": 293.1
  },
  "luminance": 0.19205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #895CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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