#897DFD#897DFD

#897DFD is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.1% C 0.184 H 284.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#897DFD
RGBrgb(137, 125, 253)
HSLhsl(246, 97%, 74%)
HSVhsv(246, 51%, 99%)
CMYKcmyk(45.8%, 50.6%, 0%, 0.8%)
CIE-LABlab(59.04, 36.19, -62.57)
CIE-LCHlch(59.04, 72.28, 300.04°)
OKLaboklab(66.15% 0.0458 -0.1781)
OKLCHoklch(66.15% 0.184 284.4)
XYZxyz(35.3745, 27.0758, 96.2717)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897DFD #F1FD7D
analogous
#7DB1FD #897DFD #C97DFD
triadic
#897DFD #FD897D #7DFD89
tetradic
#897DFD #FD7DB1 #F1FD7D #7DFDC9
square
#897DFD #FD7DB1 #F1FD7D #7DFDC9
split-complementary
#897DFD #FDC97D #B1FD7D
monochromatic
#1C04FB #5241FC #897DFD #C0B9FE #E4E1FF

Accessibility & contrast

On white

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

On black

6.42
#897DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897DFD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897DFD#FFFFFF#000000##000000
##897DFD1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#3C8AFA
Tritanopia (blue-blind)
#6298B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #897dfd;
/* rgb */ color: rgb(137, 125, 253);
/* oklch */ color: oklch(66.1% 0.184 284.4);
Tailwind
colors: {
  custom: {
    50: '#b2a3ff',
    500: '#897dfd',
    950: '#000000',
  },
}
SCSS
$custom: #897dfd;
$custom-light: #b2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#897dfd",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 245.625,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66148,
    "c": 0.18386,
    "h": 284.4
  },
  "luminance": 0.27077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #897DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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