#897AAA#897AAA

#897AAA is a mid, moderate violet. Relative luminance 0.221; OKLCH L 61.1% C 0.073 H 298.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#897AAA
RGBrgb(137, 122, 170)
HSLhsl(259, 22%, 57%)
HSVhsv(259, 28%, 67%)
CMYKcmyk(19.4%, 28.2%, 0%, 33.3%)
CIE-LABlab(54.17, 15.86, -23.44)
CIE-LCHlch(54.17, 28.30, 304.09°)
OKLaboklab(61.11% 0.0351 -0.0644)
OKLCHoklch(61.11% 0.073 298.5)
XYZxyz(24.5302, 22.1396, 41.0035)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897AAA #9BAA7A
analogous
#7A83AA #897AAA #A17AAA
triadic
#897AAA #AA897A #7AAA89
tetradic
#897AAA #AA7A83 #9BAA7A #7AAAA1
square
#897AAA #AA7A83 #9BAA7A #7AAAA1
split-complementary
#897AAA #AAA17A #83AA7A
monochromatic
#4E4267 #6A5A8D #897AAA #AA9FC2 #CBC5DA

Accessibility & contrast

On white

3.87
#897AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#897AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897AAA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897AAA#FFFFFF#000000##000000
##897AAA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7082AC
Deuteranopia (green-blind)
#7281A9
Tritanopia (blue-blind)
#83818B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #897aaa;
/* rgb */ color: rgb(137, 122, 170);
/* oklch */ color: oklch(61.1% 0.073 298.5);
Tailwind
colors: {
  custom: {
    50: '#aca0c3',
    500: '#897aaa',
    950: '#000000',
  },
}
SCSS
$custom: #897aaa;
$custom-light: #aca0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#897aaa",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 258.75,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61108,
    "c": 0.07334,
    "h": 298.5
  },
  "luminance": 0.2214
}

Semantic roles & 50–950 ramp

primary
#897AAA
secondary
#C4CAB6
accent
#BF69A4
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #897AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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