#897BC7#897BC7

#897BC7 is a light, moderate violet. Relative luminance 0.236; OKLCH L 62.7% C 0.113 H 291.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#897BC7
RGBrgb(137, 123, 199)
HSLhsl(251, 40%, 63%)
HSVhsv(251, 38%, 78%)
CMYKcmyk(31.2%, 38.2%, 0%, 22%)
CIE-LABlab(55.69, 22.50, -37.69)
CIE-LCHlch(55.69, 43.90, 300.84°)
OKLaboklab(62.69% 0.0409 -0.1053)
OKLCHoklch(62.69% 0.113 291.2)
XYZxyz(27.7057, 23.6073, 57.1187)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897BC7 #B9C77B
analogous
#7B93C7 #897BC7 #AF7BC7
triadic
#897BC7 #C7897B #7BC789
tetradic
#897BC7 #C77B93 #B9C77B #7BC7AF
square
#897BC7 #C77B93 #B9C77B #7BC7AF
split-complementary
#897BC7 #C7AF7B #93C77B
monochromatic
#4A3B8C #6350B5 #897BC7 #AFA6D9 #D6D1EB

Accessibility & contrast

On white

3.67
#897BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#897BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897BC7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897BC7#FFFFFF#000000##000000
##897BC71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6587CA
Deuteranopia (green-blind)
#6684C5
Tritanopia (blue-blind)
#7B8997
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #897bc7;
/* rgb */ color: rgb(137, 123, 199);
/* oklch */ color: oklch(62.7% 0.113 291.2);
Tailwind
colors: {
  custom: {
    50: '#ada1d8',
    500: '#897bc7',
    950: '#000000',
  },
}
SCSS
$custom: #897bc7;
$custom-light: #ada1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#897bc7",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 251.053,
    "s": 40.426,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62686,
    "c": 0.11303,
    "h": 291.2
  },
  "luminance": 0.23608
}

Semantic roles & 50–950 ramp

primary
#897BC7
secondary
#D7DDC1
accent
#B3329C
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F14
muted
#7F7E83

Preview Lab

Preview with #897BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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