#897DF2#897DF2

#897DF2 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.5% C 0.169 H 285.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#897DF2
RGBrgb(137, 125, 242)
HSLhsl(246, 82%, 72%)
HSVhsv(246, 48%, 95%)
CMYKcmyk(43.4%, 48.3%, 0%, 5.1%)
CIE-LABlab(58.41, 33.06, -57.51)
CIE-LCHlch(58.41, 66.34, 299.89°)
OKLaboklab(65.47% 0.0449 -0.1632)
OKLCHoklch(65.47% 0.169 285.4)
XYZxyz(33.6725, 26.3950, 87.3077)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897DF2 #E6F27D
analogous
#7DACF2 #897DF2 #C47DF2
triadic
#897DF2 #F2897D #7DF289
tetradic
#897DF2 #F27DAC #E6F27D #7DF2C4
square
#897DF2 #F27DAC #E6F27D #7DF2C4
split-complementary
#897DF2 #F2C47D #ACF27D
monochromatic
#2B16DE #5745EC #897DF2 #BCB5F8 #E6E3FC

Accessibility & contrast

On white

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

On black

6.28
#897DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897DF2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897DF2#FFFFFF#000000##000000
##897DF21.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#6895AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #897df2;
/* rgb */ color: rgb(137, 125, 242);
/* oklch */ color: oklch(65.5% 0.169 285.4);
Tailwind
colors: {
  custom: {
    50: '#b1a2f7',
    500: '#897df2',
    950: '#000000',
  },
}
SCSS
$custom: #897df2;
$custom-light: #b1a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#897df2",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 246.154,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65468,
    "c": 0.16927,
    "h": 285.4
  },
  "luminance": 0.26396
}

Semantic roles & 50–950 ramp

primary
#897DF2
secondary
#F1F4D7
accent
#DE07C8
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #897DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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