#897EA4#897EA4

#897EA4 is a mid, muted violet. Relative luminance 0.229; OKLCH L 61.7% C 0.058 H 298.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#897EA4
RGBrgb(137, 126, 164)
HSLhsl(257, 17%, 57%)
HSVhsv(257, 23%, 64%)
CMYKcmyk(16.5%, 23.2%, 0%, 35.7%)
CIE-LABlab(54.99, 12.12, -18.72)
CIE-LCHlch(54.99, 22.30, 302.91°)
OKLaboklab(61.66% 0.0271 -0.0511)
OKLCHoklch(61.66% 0.058 298)
XYZxyz(24.4768, 22.9203, 38.2493)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897EA4 #99A47E
analogous
#7E86A4 #897EA4 #9C7EA4
triadic
#897EA4 #A4897E #7EA489
tetradic
#897EA4 #A47E86 #99A47E #7EA49C
square
#897EA4 #A47E86 #99A47E #7EA49C
split-complementary
#897EA4 #A49C7E #86A47E
monochromatic
#4E4562 #6A5F86 #897EA4 #AAA2BD #CBC6D7

Accessibility & contrast

On white

3.76
#897EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#897EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897EA4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897EA4#FFFFFF#000000##000000
##897EA41.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A6
Deuteranopia (green-blind)
#7883A3
Tritanopia (blue-blind)
#84848B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #897ea4;
/* rgb */ color: rgb(137, 126, 164);
/* oklch */ color: oklch(61.7% 0.058 298.0);
Tailwind
colors: {
  custom: {
    50: '#aba3bf',
    500: '#897ea4',
    950: '#000000',
  },
}
SCSS
$custom: #897ea4;
$custom-light: #aba3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#897ea4",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 257.368,
    "s": 17.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61661,
    "c": 0.05788,
    "h": 298
  },
  "luminance": 0.2292
}

Semantic roles & 50–950 ramp

primary
#897EA4
secondary
#C2C7B7
accent
#BA6EA4
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #897EA4

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

Preview Lab → · Contrast checker → · Palette generator →

#897EA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva