#8797ED

Closest named color: Periwinkle Blue (#8F99FB). oklch(70% 0.127 274.6), rgb(135, 151, 237).

Aa

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

About this color

#8797ED is a medium-light, moderately saturated blue. In OKLCH its lightness is 70%, its chroma 0.127 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.024 away. Black text reads best on it, at 7.67:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.67:1
White text2.73:1

Values

HEX#8797ED
RGBrgb(135, 151, 237)
HSLhsl(231, 74%, 73%)
OKLCHoklch(70% 0.127 274.6)

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 #8797ED 2.73:1 Fails Lc -58.0 Large or bold text, headings
Black text on #8797ED 7.67:1 AAA Lc 51.2 Large or bold text, headings
#8797ED text on white 2.73:1 Fails Lc 52.8 Large or bold text, headings
#8797ED text on black 7.67:1 AAA Lc -49.0 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FA

    oklch(93.6% 0.023 275.4)

  3. Step 200

    200

    #D0D8F7

    oklch(88.6% 0.044 274)

  4. Step 300

    300

    #B1BDF5

    oklch(80.9% 0.08 275.1)

  5. Step 400

    400 (this color)

    #8797ED

    oklch(70% 0.127 274.6)

  6. Step 500

    500

    #6E7DEA

    oklch(63% 0.163 274.8)

  7. Step 600

    600

    #5864D8

    oklch(55.6% 0.176 274.7)

  8. Step 700

    700

    #4852BC

    oklch(49.1% 0.165 274.5)

  9. Step 800

    800

    #3B4498

    oklch(42.8% 0.136 274.5)

  10. Step 900

    900

    #323A79

    oklch(37.7% 0.106 274.7)

  11. Step 950

    950

    #1D2347

    oklch(27.1% 0.067 274)

Export this scale for Tailwind in the Tailwind colors tool

#8797ED 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)#78A1F00.029
Deuteranopia (no green cones)#7098EB0.028
Tritanopia (no blue cones)#65A8B70.112
Achromatopsia (no color)#9C9C9C0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #8797ED

    #8797ED

    oklch(70% 0.127 274.6)

  • #B89D2F

    #B89D2F

    oklch(70.1% 0.128 94.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8797ED

    #8797ED

    oklch(70% 0.127 274.6)

  • #51A6E8

    #51A6E8

    oklch(70.1% 0.127 244.6)

  • #B089DE

    #B089DE

    oklch(69.9% 0.127 304.4)

Open the analogous palette in the generator

Split complementary

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

  • #8797ED

    #8797ED

    oklch(70% 0.127 274.6)

  • #D48C3E

    #D48C3E

    oklch(69.9% 0.127 64.9)

  • #8DAC4D

    #8DAC4D

    oklch(70.1% 0.128 124.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8797ED

    #8797ED

    oklch(70% 0.127 274.6)

  • #E27F67

    #E27F67

    oklch(70% 0.128 34.6)

  • #54B57A

    #54B57A

    oklch(69.9% 0.127 154.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8797ED

    #8797ED

    oklch(70% 0.127 274.6)

  • #DF7A94

    #DF7A94

    oklch(69.9% 0.128 4.5)

  • #B89D2F

    #B89D2F

    oklch(70.1% 0.128 94.7)

  • #00B7A8

    #00B7A8

    oklch(70.1% 0.124 184.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8797ED 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.