#897EA2#897EA2

#897EA2 is a mid, muted violet. Relative luminance 0.228; OKLCH L 61.6% C 0.055 H 298.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#897EA2
RGBrgb(137, 126, 162)
HSLhsl(258, 16%, 56%)
HSVhsv(258, 22%, 64%)
CMYKcmyk(15.4%, 22.2%, 0%, 36.5%)
CIE-LABlab(54.92, 11.66, -17.68)
CIE-LCHlch(54.92, 21.18, 303.40°)
OKLaboklab(61.58% 0.0265 -0.0482)
OKLCHoklch(61.58% 0.055 298.8)
XYZxyz(24.2976, 22.8486, 37.3056)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897EA2 #97A27E
analogous
#7E85A2 #897EA2 #9B7EA2
triadic
#897EA2 #A2897E #7EA289
tetradic
#897EA2 #A27E85 #97A27E #7EA29B
square
#897EA2 #A27E85 #97A27E #7EA29B
split-complementary
#897EA2 #A29B7E #85A27E
monochromatic
#4E4560 #6A5F84 #897EA2 #AAA2BC #CAC5D5

Accessibility & contrast

On white

3.77
#897EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#897EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897EA2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897EA2#FFFFFF#000000##000000
##897EA21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7783A4
Deuteranopia (green-blind)
#7883A1
Tritanopia (blue-blind)
#85838A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #897ea2;
/* rgb */ color: rgb(137, 126, 162);
/* oklch */ color: oklch(61.6% 0.055 298.8);
Tailwind
colors: {
  custom: {
    50: '#aba3bd',
    500: '#897ea2',
    950: '#000000',
  },
}
SCSS
$custom: #897ea2;
$custom-light: #aba3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#897ea2",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 258.333,
    "s": 16.216,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61579,
    "c": 0.055,
    "h": 298.8
  },
  "luminance": 0.22849
}

Semantic roles & 50–950 ramp

primary
#897EA2
secondary
#C1C5B7
accent
#B96FA2
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #897EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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