#895EA2#895EA2

#895EA2 is a mid, moderate violet. Relative luminance 0.159; OKLCH L 55.4% C 0.112 H 312.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#895EA2
RGBrgb(137, 94, 162)
HSLhsl(278, 27%, 50%)
HSVhsv(278, 42%, 64%)
CMYKcmyk(15.4%, 42%, 0%, 36.5%)
CIE-LABlab(46.89, 30.44, -30.07)
CIE-LCHlch(46.89, 42.79, 315.35°)
OKLaboklab(55.45% 0.0756 -0.0832)
OKLCHoklch(55.45% 0.112 312.2)
XYZxyz(20.8397, 15.9328, 36.1529)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895EA2 #77A25E
analogous
#675EA2 #895EA2 #A25E99
triadic
#895EA2 #A2895E #5EA289
tetradic
#895EA2 #A2675E #77A25E #5E99A2
square
#895EA2 #A2675E #77A25E #5E99A2
split-complementary
#895EA2 #99A25E #5EA267
monochromatic
#483155 #68477B #895EA2 #A585B8 #C2ACCF

Accessibility & contrast

On white

5.02
#895EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#895EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895EA2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895EA2#FFFFFF#000000##FFFFFF
##895EA21.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516DA4
Deuteranopia (green-blind)
#5C70A0
Tritanopia (blue-blind)
#876878
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #895ea2;
/* rgb */ color: rgb(137, 94, 162);
/* oklch */ color: oklch(55.4% 0.112 312.2);
Tailwind
colors: {
  custom: {
    50: '#ac8cbe',
    500: '#895ea2',
    950: '#000000',
  },
}
SCSS
$custom: #895ea2;
$custom-light: #ac8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#895ea2",
  "rgb": {
    "r": 137,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 277.941,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55445,
    "c": 0.11241,
    "h": 312.2
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#895EA2
secondary
#AABD9F
accent
#C36587
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #895EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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