#897FE2

Closest named color: Perrywinkle (#8F8CE7). oklch(64.9% 0.145 286.2), rgb(137, 127, 226).

Aa

Black text reads best on this color (6.19:1).

About this color

#897FE2 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.145 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.035 away. Black text reads best on it, at 6.19:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.145)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.19:1
White text3.38:1

Values

HEX#897FE2
RGBrgb(137, 127, 226)
HSLhsl(246, 63%, 69%)
OKLCHoklch(64.9% 0.145 286.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #897FE2 3.38:1 AA large text Lc -66.7 Content text, not long reading
Black text on #897FE2 6.19:1 AA Lc 42.8 Non-text elements, placeholder text
#897FE2 text on white 3.38:1 AA large text Lc 61.2 Content text, not long reading
#897FE2 text on black 6.19:1 AA Lc -40.5 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F3

    oklch(88.5% 0.04 285.6)

  4. Step 300

    300

    #BCBAED

    oklch(80.8% 0.072 286.5)

  5. Step 400

    400

    #9B96E4

    oklch(70.8% 0.113 286.1)

  6. Step 500

    500 (this color)

    #897FE2

    oklch(64.9% 0.145 286.2)

  7. Step 600

    600

    #6E60C9

    oklch(55.5% 0.157 286.2)

  8. Step 700

    700

    #5D4FAE

    oklch(49.1% 0.146 286.5)

  9. Step 800

    800

    #4B418D

    oklch(42.6% 0.121 286)

  10. Step 900

    900

    #3F3871

    oklch(37.8% 0.095 286.6)

  11. Step 950

    950

    #242142

    oklch(26.9% 0.06 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#897FE2 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#5B8EE60.064
Deuteranopia (no green cones)#5A89E00.062
Tritanopia (no blue cones)#7093A60.123
Achromatopsia (no color)#8B8B8B0.145

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #897FE2

    #897FE2

    oklch(64.9% 0.145 286.2)

  • #9A9300

    #9A9300

    oklch(64.8% 0.138 106.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #897FE2

    #897FE2

    oklch(64.9% 0.145 286.2)

  • #4F90E5

    #4F90E5

    oklch(65% 0.144 255.9)

  • #B170C9

    #B170C9

    oklch(64.8% 0.145 316.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #897FE2

    #897FE2

    oklch(64.9% 0.145 286.2)

  • #BD8100

    #BD8100

    oklch(64.8% 0.136 76.1)

  • #63A243

    #63A243

    oklch(64.8% 0.144 136.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #897FE2

    #897FE2

    oklch(64.9% 0.145 286.2)

  • #D56F39

    #D56F39

    oklch(65% 0.145 46.4)

  • #00A87C

    #00A87C

    oklch(64.9% 0.134 166.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #897FE2

    #897FE2

    oklch(64.9% 0.145 286.2)

  • #D86570

    #D86570

    oklch(64.8% 0.145 16.1)

  • #9A9300

    #9A9300

    oklch(64.8% 0.138 106.3)

  • #00A3A5

    #00A3A5

    oklch(64.9% 0.11 196.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #897FE2, closest first.

No curated palette has a color within ΔE 0.04 of #897FE2.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #897FE2 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.