#897FA2#897FA2

#897FA2 is a mid, muted violet. Relative luminance 0.231; OKLCH L 61.8% C 0.053 H 297.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#897FA2
RGBrgb(137, 127, 162)
HSLhsl(257, 16%, 57%)
HSVhsv(257, 22%, 64%)
CMYKcmyk(15.4%, 21.6%, 0%, 36.5%)
CIE-LABlab(55.18, 11.07, -17.28)
CIE-LCHlch(55.18, 20.52, 302.66°)
OKLaboklab(61.78% 0.0249 -0.0471)
OKLCHoklch(61.78% 0.053 297.9)
XYZxyz(24.4261, 23.1056, 37.3484)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FA2 #98A27F
analogous
#7F87A2 #897FA2 #9B7FA2
triadic
#897FA2 #A2897F #7FA289
tetradic
#897FA2 #A27F87 #98A27F #7FA29B
square
#897FA2 #A27F87 #98A27F #7FA29B
split-complementary
#897FA2 #A29B7F #87A27F
monochromatic
#4E4660 #6A6084 #897FA2 #AAA2BC #CAC6D6

Accessibility & contrast

On white

3.74
#897FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#897FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FA2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FA2#FFFFFF#000000##000000
##897FA21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A4
Deuteranopia (green-blind)
#7984A1
Tritanopia (blue-blind)
#85848B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #897fa2;
/* rgb */ color: rgb(137, 127, 162);
/* oklch */ color: oklch(61.8% 0.053 297.9);
Tailwind
colors: {
  custom: {
    50: '#aba4bd',
    500: '#897fa2',
    950: '#000000',
  },
}
SCSS
$custom: #897fa2;
$custom-light: #aba4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#897fa2",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 257.143,
    "s": 15.837,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61784,
    "c": 0.05329,
    "h": 297.9
  },
  "luminance": 0.23106
}

Semantic roles & 50–950 ramp

primary
#897FA2
secondary
#C1C6B7
accent
#B96FA4
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #897FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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