#897FE1

Closest named color: Perrywinkle (#8F8CE7). oklch(64.8% 0.143 286.3), rgb(137, 127, 225).

Aa

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

About this color

#897FE1 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.143 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.18:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.143)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.18:1
White text3.39:1

Values

HEX#897FE1
RGBrgb(137, 127, 225)
HSLhsl(246, 62%, 69%)
OKLCHoklch(64.8% 0.143 286.3)

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 #897FE1 3.39:1 AA large text Lc -66.8 Content text, not long reading
Black text on #897FE1 6.18:1 AA Lc 42.8 Non-text elements, placeholder text
#897FE1 text on white 3.39:1 AA large text Lc 61.3 Content text, not long reading
#897FE1 text on black 6.18:1 AA Lc -40.4 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

    #D6D6F2

    oklch(88.5% 0.038 285.6)

  4. Step 300

    300

    #BCBBED

    oklch(81% 0.07 285.6)

  5. Step 400

    400

    #9B96E3

    oklch(70.8% 0.111 286.2)

  6. Step 500

    500 (this color)

    #897FE1

    oklch(64.8% 0.143 286.3)

  7. Step 600

    600

    #6F61C9

    oklch(55.7% 0.156 286.4)

  8. Step 700

    700

    #5D4FAD

    oklch(49.1% 0.144 286.6)

  9. Step 800

    800

    #4C418C

    oklch(42.6% 0.12 286.9)

  10. Step 900

    900

    #3F3870

    oklch(37.7% 0.093 286.8)

  11. Step 950

    950

    #242142

    oklch(26.9% 0.06 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#897FE1 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)#5C8EE50.063
Deuteranopia (no green cones)#5A89DF0.062
Tritanopia (no blue cones)#7092A50.121
Achromatopsia (no color)#8B8B8B0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #897FE1

    #897FE1

    oklch(64.8% 0.143 286.3)

  • #9A9300

    #9A9300

    oklch(64.8% 0.138 106.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #897FE1

    #897FE1

    oklch(64.8% 0.143 286.3)

  • #508FE4

    #508FE4

    oklch(64.7% 0.144 256.5)

  • #B171C9

    #B171C9

    oklch(65% 0.143 316.3)

Open the analogous palette in the generator

Split complementary

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

  • #897FE1

    #897FE1

    oklch(64.8% 0.143 286.3)

  • #BD8100

    #BD8100

    oklch(64.8% 0.136 76.1)

  • #63A244

    #63A244

    oklch(64.8% 0.143 136.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #897FE1

    #897FE1

    oklch(64.8% 0.143 286.3)

  • #D46F3A

    #D46F3A

    oklch(64.9% 0.143 46.3)

  • #00A87C

    #00A87C

    oklch(64.9% 0.134 166.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #897FE1

    #897FE1

    oklch(64.8% 0.143 286.3)

  • #D76670

    #D76670

    oklch(64.8% 0.142 16.4)

  • #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 #897FE1, closest first.

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

Similar named colors

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

Use #897FE1 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.