#897BF5#897BF5

#897BF5 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.3% C 0.176 H 285.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#897BF5
RGBrgb(137, 123, 245)
HSLhsl(247, 86%, 72%)
HSVhsv(247, 50%, 96%)
CMYKcmyk(44.1%, 49.8%, 0%, 3.9%)
CIE-LABlab(58.11, 35.07, -59.66)
CIE-LCHlch(58.11, 69.20, 300.45°)
OKLaboklab(65.3% 0.0475 -0.1695)
OKLCHoklch(65.3% 0.176 285.7)
XYZxyz(33.8761, 26.0754, 89.6166)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897BF5 #E7F57B
analogous
#7BAAF5 #897BF5 #C67BF5
triadic
#897BF5 #F5897B #7BF589
tetradic
#897BF5 #F57BAA #E7F57B #7BF5C6
square
#897BF5 #F57BAA #E7F57B #7BF5C6
split-complementary
#897BF5 #F5C67B #AAF57B
monochromatic
#2A11E4 #5642F1 #897BF5 #BCB4F9 #E6E3FD

Accessibility & contrast

On white

3.38
#897BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#897BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897BF5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897BF5#FFFFFF#000000##000000
##897BF51.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#4288F2
Tritanopia (blue-blind)
#6795AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #897bf5;
/* rgb */ color: rgb(137, 123, 245);
/* oklch */ color: oklch(65.3% 0.176 285.7);
Tailwind
colors: {
  custom: {
    50: '#b1a1f9',
    500: '#897bf5',
    950: '#000000',
  },
}
SCSS
$custom: #897bf5;
$custom-light: #b1a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#897bf5",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 246.885,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65297,
    "c": 0.17604,
    "h": 285.7
  },
  "luminance": 0.26077
}

Semantic roles & 50–950 ramp

primary
#897BF5
secondary
#F1F5D6
accent
#E203C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #897BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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