#897EDA

Closest named color: Medium Purple (#9370DB). oklch(64.3% 0.135 287.4), rgb(137, 126, 218).

Aa

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

About this color

#897EDA is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.135 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.036 away. Black text reads best on it, at 6.06:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.135)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text6.06:1
White text3.46:1

Values

HEX#897EDA
RGBrgb(137, 126, 218)
HSLhsl(247, 55%, 67%)
OKLCHoklch(64.3% 0.135 287.4)

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 #897EDA 3.46:1 AA large text Lc -67.6 Content text, not long reading
Black text on #897EDA 6.06:1 AA Lc 42.0 Non-text elements, placeholder text
#897EDA text on white 3.46:1 AA large text Lc 62.1 Content text, not long reading
#897EDA text on black 6.06:1 AA Lc -39.6 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D7D6F1

    oklch(88.5% 0.037 287.3)

  4. Step 300

    300

    #BDBBEA

    oklch(81% 0.066 286.8)

  5. Step 400

    400

    #9D96DF

    oklch(70.7% 0.106 287.8)

  6. Step 500

    500 (this color)

    #897EDA

    oklch(64.3% 0.135 287.4)

  7. Step 600

    600

    #7062C3

    oklch(55.6% 0.146 287.3)

  8. Step 700

    700

    #5E50A9

    oklch(49% 0.137 287.4)

  9. Step 800

    800

    #4D4289

    oklch(42.7% 0.114 287.7)

  10. Step 900

    900

    #40396D

    oklch(37.8% 0.087 287.7)

  11. Step 950

    950

    #252140

    oklch(26.9% 0.057 287.9)

Export this scale for Tailwind in the Tailwind colors tool

#897EDA 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)#5F8CDD0.060
Deuteranopia (no green cones)#5E87D80.058
Tritanopia (no blue cones)#7390A10.115
Achromatopsia (no color)#8A8A8A0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #897EDA

    #897EDA

    oklch(64.3% 0.135 287.4)

  • #96920D

    #96920D

    oklch(64.3% 0.135 107.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #897EDA

    #897EDA

    oklch(64.3% 0.135 287.4)

  • #558DDE

    #558DDE

    oklch(64.2% 0.136 257.7)

  • #AE71C2

    #AE71C2

    oklch(64.3% 0.134 317.5)

Open the analogous palette in the generator

Split complementary

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

  • #897EDA

    #897EDA

    oklch(64.3% 0.135 287.4)

  • #BA8000

    #BA8000

    oklch(64.2% 0.134 76.9)

  • #62A04A

    #62A04A

    oklch(64.4% 0.136 137.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #897EDA

    #897EDA

    oklch(64.3% 0.135 287.4)

  • #CE703D

    #CE703D

    oklch(64.3% 0.135 47.3)

  • #00A67D

    #00A67D

    oklch(64.4% 0.131 167.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #897EDA

    #897EDA

    oklch(64.3% 0.135 287.4)

  • #D2676E

    #D2676E

    oklch(64.2% 0.135 17.6)

  • #96920D

    #96920D

    oklch(64.3% 0.135 107.7)

  • #00A1A4

    #00A1A4

    oklch(64.3% 0.109 197.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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