#897DFE#897DFE

#897DFE is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.2% C 0.185 H 284.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#897DFE
RGBrgb(137, 125, 254)
HSLhsl(246, 98%, 74%)
HSVhsv(246, 51%, 100%)
CMYKcmyk(46.1%, 50.8%, 0%, 0.4%)
CIE-LABlab(59.10, 36.48, -63.03)
CIE-LCHlch(59.10, 72.82, 300.06°)
OKLaboklab(66.21% 0.0459 -0.1794)
OKLCHoklch(66.21% 0.185 284.3)
XYZxyz(35.5343, 27.1397, 97.1129)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897DFE #F2FE7D
analogous
#7DB2FE #897DFE #C97DFE
triadic
#897DFE #FE897D #7DFE89
tetradic
#897DFE #FE7DB2 #F2FE7D #7DFEC9
square
#897DFE #FE7DB2 #F2FE7D #7DFEC9
split-complementary
#897DFE #FEC97D #B2FE7D
monochromatic
#1B04FD #5240FE #897DFE #C0BAFE #E3E1FF

Accessibility & contrast

On white

3.27
#897DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#897DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897DFE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897DFE#FFFFFF#000000##000000
##897DFE1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#3A8AFB
Tritanopia (blue-blind)
#6299B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #897dfe;
/* rgb */ color: rgb(137, 125, 254);
/* oklch */ color: oklch(66.2% 0.185 284.3);
Tailwind
colors: {
  custom: {
    50: '#b2a3ff',
    500: '#897dfe',
    950: '#000000',
  },
}
SCSS
$custom: #897dfe;
$custom-light: #b2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#897dfe",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 245.581,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66211,
    "c": 0.18517,
    "h": 284.3
  },
  "luminance": 0.27141
}

Semantic roles & 50–950 ramp

primary
#897DFE
secondary
#F4F7D4
accent
#E600D0
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #897DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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