#895FE4#895FE4

#895FE4 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.193 H 294.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#895FE4
RGBrgb(137, 95, 228)
HSLhsl(259, 71%, 63%)
HSVhsv(259, 58%, 89%)
CMYKcmyk(39.9%, 58.3%, 0%, 10.6%)
CIE-LABlab(50.81, 46.34, -61.89)
CIE-LCHlch(50.81, 77.32, 306.82°)
OKLaboklab(59.55% 0.0797 -0.1761)
OKLCHoklch(59.55% 0.193 294.3)
XYZxyz(28.4086, 19.1036, 75.5743)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895FE4 #BAE45F
analogous
#5F77E4 #895FE4 #CB5FE4
triadic
#895FE4 #E4895F #5FE489
tetradic
#895FE4 #E45F77 #BAE45F #5FE4CB
square
#895FE4 #E45F77 #BAE45F #5FE4CB
split-complementary
#895FE4 #E4CB5F #77E45F
monochromatic
#4A1DAC #622BDB #895FE4 #B093ED #D6C8F6

Accessibility & contrast

On white

4.36
#895FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#895FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895FE4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895FE4#FFFFFF#000000##000000
##895FE41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#1F77E1
Tritanopia (blue-blind)
#717C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #895fe4;
/* rgb */ color: rgb(137, 95, 228);
/* oklch */ color: oklch(59.6% 0.193 294.3);
Tailwind
colors: {
  custom: {
    50: '#b18eed',
    500: '#895fe4',
    950: '#000000',
  },
}
SCSS
$custom: #895fe4;
$custom-light: #b18eed;
$custom-dark: #000000;
JSON
{
  "hex": "#895fe4",
  "rgb": {
    "r": 137,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 258.947,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59551,
    "c": 0.19331,
    "h": 294.3
  },
  "luminance": 0.19104
}

Semantic roles & 50–950 ramp

primary
#895FE4
secondary
#D8E7B8
accent
#D31296
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #895FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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