#897BB2#897BB2

#897BB2 is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.7% C 0.083 H 295.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#897BB2
RGBrgb(137, 123, 178)
HSLhsl(255, 26%, 59%)
HSVhsv(255, 31%, 70%)
CMYKcmyk(23%, 30.9%, 0%, 30.2%)
CIE-LABlab(54.76, 17.20, -27.14)
CIE-LCHlch(54.76, 32.13, 302.36°)
OKLaboklab(61.67% 0.0359 -0.075)
OKLCHoklch(61.67% 0.083 295.6)
XYZxyz(25.4335, 22.6984, 45.1521)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897BB2 #A4B27B
analogous
#7B89B2 #897BB2 #A57BB2
triadic
#897BB2 #B2897B #7BB289
tetradic
#897BB2 #B27B89 #A4B27B #7BB2A5
square
#897BB2 #B27B89 #A4B27B #7BB2A5
split-complementary
#897BB2 #B2A57B #89B27B
monochromatic
#4E4271 #685897 #897BB2 #ACA2C9 #CEC8DF

Accessibility & contrast

On white

3.79
#897BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#897BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897BB2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897BB2#FFFFFF#000000##000000
##897BB21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E83B4
Deuteranopia (green-blind)
#7082B0
Tritanopia (blue-blind)
#81848F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #897bb2;
/* rgb */ color: rgb(137, 123, 178);
/* oklch */ color: oklch(61.7% 0.083 295.6);
Tailwind
colors: {
  custom: {
    50: '#aca1c9',
    500: '#897bb2',
    950: '#000000',
  },
}
SCSS
$custom: #897bb2;
$custom-light: #aca1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#897bb2",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 255.273,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61666,
    "c": 0.08311,
    "h": 295.6
  },
  "luminance": 0.22699
}

Semantic roles & 50–950 ramp

primary
#897BB2
secondary
#CACFBA
accent
#C365AB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #897BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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