#897AC2#897AC2

#897AC2 is a light, moderate violet. Relative luminance 0.231; OKLCH L 62.2% C 0.108 H 292.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#897AC2
RGBrgb(137, 122, 194)
HSLhsl(253, 37%, 62%)
HSVhsv(253, 37%, 76%)
CMYKcmyk(29.4%, 37.1%, 0%, 23.9%)
CIE-LABlab(55.21, 21.80, -35.61)
CIE-LCHlch(55.21, 41.75, 301.48°)
OKLaboklab(62.24% 0.0413 -0.0993)
OKLCHoklch(62.24% 0.108 292.6)
XYZxyz(27.0112, 23.1320, 54.0703)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897AC2 #B3C27A
analogous
#7A8FC2 #897AC2 #AD7AC2
triadic
#897AC2 #C2897A #7AC289
tetradic
#897AC2 #C27A8F #B3C27A #7AC2AD
square
#897AC2 #C27A8F #B3C27A #7AC2AD
split-complementary
#897AC2 #C2AD7A #8FC27A
monochromatic
#4C3D85 #6450AF #897AC2 #AEA4D5 #D3CEE8

Accessibility & contrast

On white

3.73
#897AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#897AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897AC2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897AC2#FFFFFF#000000##000000
##897AC21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6685C5
Deuteranopia (green-blind)
#6783C0
Tritanopia (blue-blind)
#7C8795
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #897ac2;
/* rgb */ color: rgb(137, 122, 194);
/* oklch */ color: oklch(62.2% 0.108 292.6);
Tailwind
colors: {
  custom: {
    50: '#ada0d4',
    500: '#897ac2',
    950: '#000000',
  },
}
SCSS
$custom: #897ac2;
$custom-light: #ada0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#897ac2",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 252.5,
    "s": 37.113,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6224,
    "c": 0.10754,
    "h": 292.6
  },
  "luminance": 0.23132
}

Semantic roles & 50–950 ramp

primary
#897AC2
secondary
#D4D9BF
accent
#B03596
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #897AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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