#897FAC#897FAC

#897FAC is a light, moderate violet. Relative luminance 0.235; OKLCH L 62.2% C 0.068 H 294.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#897FAC
RGBrgb(137, 127, 172)
HSLhsl(253, 21%, 59%)
HSVhsv(253, 26%, 67%)
CMYKcmyk(20.3%, 26.2%, 0%, 32.5%)
CIE-LABlab(55.56, 13.41, -22.46)
CIE-LCHlch(55.56, 26.16, 300.83°)
OKLaboklab(62.2% 0.0282 -0.0617)
OKLCHoklch(62.2% 0.068 294.5)
XYZxyz(25.3506, 23.4754, 42.2174)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FAC #A2AC7F
analogous
#7F8BAC #897FAC #9F7FAC
triadic
#897FAC #AC897F #7FAC89
tetradic
#897FAC #AC7F8B #A2AC7F #7FAC9F
square
#897FAC #AC7F8B #A2AC7F #7FAC9F
split-complementary
#897FAC #AC9F7F #8BAC7F
monochromatic
#4E456B #695E90 #897FAC #ABA4C4 #CDC9DC

Accessibility & contrast

On white

3.69
#897FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#897FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FAC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FAC#FFFFFF#000000##000000
##897FAC1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AE
Deuteranopia (green-blind)
#7684AB
Tritanopia (blue-blind)
#82868F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #897fac;
/* rgb */ color: rgb(137, 127, 172);
/* oklch */ color: oklch(62.2% 0.068 294.5);
Tailwind
colors: {
  custom: {
    50: '#aca4c4',
    500: '#897fac',
    950: '#000000',
  },
}
SCSS
$custom: #897fac;
$custom-light: #aca4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#897fac",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 253.333,
    "s": 21.327,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62201,
    "c": 0.06781,
    "h": 294.5
  },
  "luminance": 0.23476
}

Semantic roles & 50–950 ramp

primary
#897FAC
secondary
#C8CCBB
accent
#BE6AAB
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #897FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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