#897DFC

Closest named color: Periwinkle (#8E82FE). oklch(66.1% 0.183 284.5), rgb(137, 125, 252).

Aa

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

About this color

#897DFC is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.183 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.015 away. Black text reads best on it, at 6.40:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.183)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.40:1
White text3.27:1

Values

HEX#897DFC
RGBrgb(137, 125, 252)
HSLhsl(246, 95%, 74%)
OKLCHoklch(66.1% 0.183 284.5)

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 #897DFC 3.27:1 AA large text Lc -65.3 Content text, not long reading
Black text on #897DFC 6.40:1 AA Lc 44.2 Non-text elements, placeholder text
#897DFC text on white 3.27:1 AA large text Lc 59.9 Large or bold text, headings
#897DFC text on black 6.40:1 AA Lc -41.8 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D5D5FA

    oklch(88.5% 0.051 285.3)

  4. Step 300

    300

    #BAB9F9

    oklch(80.9% 0.09 284.9)

  5. Step 400

    400

    #9792F6

    oklch(70.6% 0.144 284.4)

  6. Step 500

    500 (this color)

    #897DFC

    oklch(66.1% 0.183 284.5)

  7. Step 600

    600

    #6C58E0

    oklch(55.6% 0.198 284.6)

  8. Step 700

    700

    #5A47C3

    oklch(49.1% 0.185 284.3)

  9. Step 800

    800

    #4A3B9D

    oklch(42.6% 0.153 284.9)

  10. Step 900

    900

    #3D347D

    oklch(37.7% 0.119 284.7)

  11. Step 950

    950

    #231F49

    oklch(26.9% 0.075 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#897DFC 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)#4292FF0.086
Deuteranopia (no green cones)#3D8AF90.086
Tritanopia (no blue cones)#6398B10.155
Achromatopsia (no color)#8E8E8E0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #897DFC

    #897DFC

    oklch(66.1% 0.183 284.5)

  • #A19600

    #A19600

    oklch(66.2% 0.14 104.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #897DFC

    #897DFC

    oklch(66.1% 0.183 284.5)

  • #3392FE

    #3392FE

    oklch(66% 0.183 254.6)

  • #BB6ADE

    #BB6ADE

    oklch(66.1% 0.182 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #897DFC

    #897DFC

    oklch(66.1% 0.183 284.5)

  • #C48300

    #C48300

    oklch(66% 0.14 74.2)

  • #5EA919

    #5EA919

    oklch(66% 0.183 134.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #897DFC

    #897DFC

    oklch(66.1% 0.183 284.5)

  • #E96417

    #E96417

    oklch(66% 0.183 44.4)

  • #00AD7C

    #00AD7C

    oklch(66.2% 0.14 164.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #897DFC

    #897DFC

    oklch(66.1% 0.183 284.5)

  • #EC586F

    #EC586F

    oklch(66.1% 0.182 14.4)

  • #A19600

    #A19600

    oklch(66.2% 0.14 104.4)

  • #00A8A7

    #00A8A7

    oklch(66.2% 0.113 194)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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