#897BB7#897BB7

#897BB7 is a mid, moderate violet. Relative luminance 0.229; OKLCH L 61.9% C 0.090 H 294.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#897BB7
RGBrgb(137, 123, 183)
HSLhsl(254, 29%, 60%)
HSVhsv(254, 33%, 72%)
CMYKcmyk(25.1%, 32.8%, 0%, 28.2%)
CIE-LABlab(54.97, 18.43, -29.68)
CIE-LCHlch(54.97, 34.94, 301.83°)
OKLaboklab(61.9% 0.0372 -0.0823)
OKLCHoklch(61.9% 0.09 294.3)
XYZxyz(25.9447, 22.9029, 47.8444)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897BB7 #A9B77B
analogous
#7B8BB7 #897BB7 #A77BB7
triadic
#897BB7 #B7897B #7BB789
tetradic
#897BB7 #B77B8B #A9B77B #7BB7A7
square
#897BB7 #B77B8B #A9B77B #7BB7A7
split-complementary
#897BB7 #B7A77B #8BB77B
monochromatic
#4D4177 #67569E #897BB7 #ACA3CD #D0CAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897BB7#FFFFFF#000000##000000
##897BB71.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)
#6C84B9
Deuteranopia (green-blind)
#6D83B5
Tritanopia (blue-blind)
#808591
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #897bb7;
/* rgb */ color: rgb(137, 123, 183);
/* oklch */ color: oklch(61.9% 0.090 294.3);
Tailwind
colors: {
  custom: {
    50: '#aca1cd',
    500: '#897bb7',
    950: '#000000',
  },
}
SCSS
$custom: #897bb7;
$custom-light: #aca1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#897bb7",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 254,
    "s": 29.412,
    "l": 60
  },
  "oklch": {
    "l": 0.61899,
    "c": 0.09027,
    "h": 294.3
  },
  "luminance": 0.22903
}

Semantic roles & 50–950 ramp

primary
#897BB7
secondary
#CDD2BB
accent
#C662AE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #897BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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