#897DFC#897DFC

#897DFC is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.1% C 0.183 H 284.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#897DFC
RGBrgb(137, 125, 252)
HSLhsl(246, 95%, 74%)
HSVhsv(246, 50%, 99%)
CMYKcmyk(45.6%, 50.4%, 0%, 1.2%)
CIE-LABlab(58.99, 35.90, -62.12)
CIE-LCHlch(58.99, 71.75, 300.03°)
OKLaboklab(66.09% 0.0458 -0.1767)
OKLCHoklch(66.09% 0.183 284.5)
XYZxyz(35.2157, 27.0123, 95.4349)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897DFC #F0FC7D
analogous
#7DB1FC #897DFC #C97DFC
triadic
#897DFC #FC897D #7DFC89
tetradic
#897DFC #FC7DB1 #F0FC7D #7DFCC9
square
#897DFC #FC7DB1 #F0FC7D #7DFCC9
split-complementary
#897DFC #FCC97D #B1FC7D
monochromatic
#1D06F9 #5341FB #897DFC #BFB9FD #E4E1FE

Accessibility & contrast

On white

3.28
#897DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#897DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897DFC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897DFC#FFFFFF#000000##000000
##897DFC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#3D8AF9
Tritanopia (blue-blind)
#6398B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #897dfc;
/* rgb */ color: rgb(137, 125, 252);
/* oklch */ color: oklch(66.1% 0.183 284.5);
Tailwind
colors: {
  custom: {
    50: '#b2a3fe',
    500: '#897dfc',
    950: '#000000',
  },
}
SCSS
$custom: #897dfc;
$custom-light: #b2a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#897dfc",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 245.669,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.66085,
    "c": 0.18254,
    "h": 284.5
  },
  "luminance": 0.27014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #897DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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