#7957D9

Closest named color: Light Indigo (#6D5ACF). oklch(56% 0.19 291), rgb(121, 87, 217).

Aa

White text reads best on this color (5.02:1).

About this color

#7957D9 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.190 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.025 away. White text reads best on it, at 5.02:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.190)
Temperaturein between
Nearest nameLight Indigo (#6D5ACF)
Black text4.17:1
White text5.02:1

Values

HEX#7957D9
RGBrgb(121, 87, 217)
HSLhsl(256, 63%, 60%)
OKLCHoklch(56% 0.19 291)

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 #7957D9 5.02:1 AA Lc -79.7 Fine for body text
Black text on #7957D9 4.17:1 AA large text Lc 29.7 Dividers and decoration only
#7957D9 text on white 5.02:1 AA Lc 74.3 Content text, not long reading
#7957D9 text on black 4.17:1 AA large text Lc -27.4 Dividers and decoration only

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

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D9D4F7

    oklch(88.5% 0.048 291.9)

  4. Step 300

    300

    #C0B7F4

    oklch(80.8% 0.086 291.1)

  5. Step 400

    400

    #A290EF

    oklch(70.8% 0.137 291.2)

  6. Step 500

    500

    #8C71E9

    oklch(63.1% 0.174 290.9)

  7. Step 600

    600 (this color)

    #7957D9

    oklch(56% 0.19 291)

  8. Step 700

    700

    #6545BB

    oklch(49.1% 0.177 290.9)

  9. Step 800

    800

    #523A97

    oklch(42.8% 0.145 290.8)

  10. Step 900

    900

    #443378

    oklch(37.8% 0.113 291.4)

  11. Step 950

    950

    #271E46

    oklch(26.9% 0.072 291.1)

Export this scale for Tailwind in the Tailwind colors tool

#7957D9 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)#0071DD0.116
Deuteranopia (no green cones)#006CD60.115
Tritanopia (no blue cones)#5D74900.153
Achromatopsia (no color)#6F6F6F0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #7957D9

    #7957D9

    oklch(56% 0.19 291)

  • #787A00

    #787A00

    oklch(55.9% 0.123 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7957D9

    #7957D9

    oklch(56% 0.19 291)

  • #2C6DE2

    #2C6DE2

    oklch(56.1% 0.19 261.1)

  • #A444B6

    #A444B6

    oklch(56% 0.189 321)

Open the analogous palette in the generator

Split complementary

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

  • #7957D9

    #7957D9

    oklch(56% 0.19 291)

  • #976C00

    #976C00

    oklch(56.1% 0.116 81)

  • #1E8D00

    #1E8D00

    oklch(56.1% 0.185 141)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7957D9

    #7957D9

    oklch(56% 0.19 291)

  • #B55600

    #B55600

    oklch(56.1% 0.146 51.3)

  • #00896C

    #00896C

    oklch(56.1% 0.11 171)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7957D9

    #7957D9

    oklch(56% 0.19 291)

  • #CC3240

    #CC3240

    oklch(56% 0.19 21.3)

  • #787A00

    #787A00

    oklch(55.9% 0.123 110.9)

  • #00858C

    #00858C

    oklch(56.1% 0.095 201.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7957D9 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.