#897EF2#897EF2

#897EF2 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.6% C 0.168 H 285.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#897EF2
RGBrgb(137, 126, 242)
HSLhsl(246, 82%, 72%)
HSVhsv(246, 48%, 95%)
CMYKcmyk(43.4%, 47.9%, 0%, 5.1%)
CIE-LABlab(58.65, 32.48, -57.13)
CIE-LCHlch(58.65, 65.72, 299.62°)
OKLaboklab(65.65% 0.0437 -0.1621)
OKLCHoklch(65.65% 0.168 285.1)
XYZxyz(33.7998, 26.6495, 87.3501)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897EF2 #E7F27E
analogous
#7EADF2 #897EF2 #C37EF2
triadic
#897EF2 #F2897E #7EF289
tetradic
#897EF2 #F27EAD #E7F27E #7EF2C3
square
#897EF2 #F27EAD #E7F27E #7EF2C3
split-complementary
#897EF2 #F2C37E #ADF27E
monochromatic
#2A16DF #5646EC #897EF2 #BCB6F8 #E6E3FC

Accessibility & contrast

On white

3.32
#897EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#897EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897EF2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897EF2#FFFFFF#000000##000000
##897EF21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F6
Deuteranopia (green-blind)
#4A8AEF
Tritanopia (blue-blind)
#6896AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #897ef2;
/* rgb */ color: rgb(137, 126, 242);
/* oklch */ color: oklch(65.6% 0.168 285.1);
Tailwind
colors: {
  custom: {
    50: '#b1a3f7',
    500: '#897ef2',
    950: '#000000',
  },
}
SCSS
$custom: #897ef2;
$custom-light: #b1a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#897ef2",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 245.69,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65647,
    "c": 0.16787,
    "h": 285.1
  },
  "luminance": 0.26651
}

Semantic roles & 50–950 ramp

primary
#897EF2
secondary
#F1F4D7
accent
#DE07CA
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #897EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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