#895DE7#895DE7

#895DE7 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.200 H 294.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#895DE7
RGBrgb(137, 93, 231)
HSLhsl(259, 74%, 64%)
HSVhsv(259, 60%, 91%)
CMYKcmyk(40.7%, 59.7%, 0%, 9.4%)
CIE-LABlab(50.59, 48.23, -63.94)
CIE-LCHlch(50.59, 80.09, 307.03°)
OKLaboklab(59.45% 0.0818 -0.1821)
OKLCHoklch(59.45% 0.2 294.2)
XYZxyz(28.6508, 18.9159, 77.7274)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895DE7 #BBE75D
analogous
#5D76E7 #895DE7 #CE5DE7
triadic
#895DE7 #E7895D #5DE789
tetradic
#895DE7 #E75D76 #BBE75D #5DE7CE
square
#895DE7 #E75D76 #BBE75D #5DE7CE
split-complementary
#895DE7 #E7CE5D #76E75D
monochromatic
#4A1AB0 #6228DF #895DE7 #B092EF #D7C8F7

Accessibility & contrast

On white

4.39
#895DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#895DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895DE7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895DE7#FFFFFF#000000##000000
##895DE71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#0D76E4
Tritanopia (blue-blind)
#707C99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #895de7;
/* rgb */ color: rgb(137, 93, 231);
/* oklch */ color: oklch(59.5% 0.200 294.2);
Tailwind
colors: {
  custom: {
    50: '#b18def',
    500: '#895de7',
    950: '#000000',
  },
}
SCSS
$custom: #895de7;
$custom-light: #b18def;
$custom-dark: #000000;
JSON
{
  "hex": "#895de7",
  "rgb": {
    "r": 137,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 259.13,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59453,
    "c": 0.19968,
    "h": 294.2
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

primary
#895DE7
secondary
#D9E8B7
accent
#D60F97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #895DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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