#895BE7#895BE7

#895BE7 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.202 H 294.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#895BE7
RGBrgb(137, 91, 231)
HSLhsl(260, 74%, 63%)
HSVhsv(260, 61%, 91%)
CMYKcmyk(40.7%, 60.6%, 0%, 9.4%)
CIE-LABlab(50.18, 49.32, -64.60)
CIE-LCHlch(50.18, 81.27, 307.36°)
OKLaboklab(59.16% 0.0841 -0.1841)
OKLCHoklch(59.16% 0.202 294.5)
XYZxyz(28.4776, 18.5694, 77.6697)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BE7 #B9E75B
analogous
#5B73E7 #895BE7 #CF5BE7
triadic
#895BE7 #E7895B #5BE789
tetradic
#895BE7 #E75B73 #B9E75B #5BE7CF
square
#895BE7 #E75B73 #B9E75B #5BE7CF
split-complementary
#895BE7 #E7CF5B #73E75B
monochromatic
#4A19AE #6326DF #895BE7 #AF90EF #D6C6F7

Accessibility & contrast

On white

4.45
#895BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#895BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895BE7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BE7#FFFFFF#000000##000000
##895BE71.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#707A99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #895be7;
/* rgb */ color: rgb(137, 91, 231);
/* oklch */ color: oklch(59.2% 0.202 294.5);
Tailwind
colors: {
  custom: {
    50: '#b18bef',
    500: '#895be7',
    950: '#000000',
  },
}
SCSS
$custom: #895be7;
$custom-light: #b18bef;
$custom-dark: #000000;
JSON
{
  "hex": "#895be7",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 259.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59155,
    "c": 0.20238,
    "h": 294.5
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#895BE7
secondary
#D7E8B6
accent
#D70F95
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #895BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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