#897BFB#897BFB

#897BFB is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.7% C 0.184 H 285.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#897BFB
RGBrgb(137, 123, 251)
HSLhsl(247, 94%, 73%)
HSVhsv(247, 51%, 98%)
CMYKcmyk(45.4%, 51%, 0%, 1.6%)
CIE-LABlab(58.46, 36.78, -62.41)
CIE-LCHlch(58.46, 72.44, 300.51°)
OKLaboklab(65.67% 0.048 -0.1776)
OKLCHoklch(65.67% 0.184 285.1)
XYZxyz(34.8070, 26.4478, 94.5190)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897BFB #EDFB7B
analogous
#7BADFB #897BFB #C97BFB
triadic
#897BFB #FB897B #7BFB89
tetradic
#897BFB #FB7BAD #EDFB7B #7BFBC9
square
#897BFB #FB7BAD #EDFB7B #7BFBC9
split-complementary
#897BFB #FBC97B #ADFB7B
monochromatic
#2107F4 #5440F9 #897BFB #BEB6FD #E4E1FE

Accessibility & contrast

On white

3.34
#897BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#897BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897BFB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897BFB#FFFFFF#000000##000000
##897BFB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#3A89F8
Tritanopia (blue-blind)
#6496AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #897bfb;
/* rgb */ color: rgb(137, 123, 251);
/* oklch */ color: oklch(65.7% 0.184 285.1);
Tailwind
colors: {
  custom: {
    50: '#b2a1fd',
    500: '#897bfb',
    950: '#000000',
  },
}
SCSS
$custom: #897bfb;
$custom-light: #b2a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#897bfb",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 246.563,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65673,
    "c": 0.18395,
    "h": 285.1
  },
  "luminance": 0.26449
}

Semantic roles & 50–950 ramp

primary
#897BFB
secondary
#F3F6D5
accent
#E600CC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #897BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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