#897FF2#897FF2

#897FF2 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.8% C 0.166 H 284.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#897FF2
RGBrgb(137, 127, 242)
HSLhsl(245, 82%, 72%)
HSVhsv(245, 48%, 95%)
CMYKcmyk(43.4%, 47.5%, 0%, 5.1%)
CIE-LABlab(58.89, 31.89, -56.75)
CIE-LCHlch(58.89, 65.10, 299.34°)
OKLaboklab(65.83% 0.0425 -0.1609)
OKLCHoklch(65.83% 0.166 284.8)
XYZxyz(33.9283, 26.9065, 87.3930)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FF2 #E8F27F
analogous
#7FAFF2 #897FF2 #C27FF2
triadic
#897FF2 #F2897F #7FF289
tetradic
#897FF2 #F27FAF #E8F27F #7FF2C2
square
#897FF2 #F27FAF #E8F27F #7FF2C2
split-complementary
#897FF2 #F2C27F #AFF27F
monochromatic
#2817E0 #5647EC #897FF2 #BCB7F8 #E5E3FC

Accessibility & contrast

On white

3.29
#897FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#897FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FF2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FF2#FFFFFF#000000##000000
##897FF21.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#6897AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #897ff2;
/* rgb */ color: rgb(137, 127, 242);
/* oklch */ color: oklch(65.8% 0.166 284.8);
Tailwind
colors: {
  custom: {
    50: '#b1a4f7',
    500: '#897ff2',
    950: '#000000',
  },
}
SCSS
$custom: #897ff2;
$custom-light: #b1a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#897ff2",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 245.217,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65827,
    "c": 0.16647,
    "h": 284.8
  },
  "luminance": 0.26908
}

Semantic roles & 50–950 ramp

primary
#897FF2
secondary
#F2F4D7
accent
#DE08CB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #897FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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