#7956BA

Closest named color: Light Indigo (#6D5ACF). oklch(53.8% 0.152 297.2), rgb(121, 86, 186).

Aa

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

About this color

#7956BA is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.152 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.038 away. White text reads best on it, at 5.45:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.152)
Temperaturein between
Nearest nameLight Indigo (#6D5ACF)
Black text3.85:1
White text5.45:1

Values

HEX#7956BA
RGBrgb(121, 86, 186)
HSLhsl(261, 42%, 53%)
OKLCHoklch(53.8% 0.152 297.2)

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 #7956BA 5.45:1 AA Lc -82.2 Fine for body text
Black text on #7956BA 3.85:1 AA large text Lc 27.1 Dividers and decoration only
#7956BA text on white 5.45:1 AA Lc 76.9 Fine for body text
#7956BA text on black 3.85:1 AA large text Lc -24.8 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F6

    oklch(93.5% 0.021 298.2)

  3. Step 200

    200

    #DBD4F0

    oklch(88.4% 0.039 297)

  4. Step 300

    300

    #C5B8E8

    oklch(80.9% 0.068 297.3)

  5. Step 400

    400

    #A892DD

    oklch(70.8% 0.11 297)

  6. Step 500

    500

    #9375D3

    oklch(63.1% 0.14 296.9)

  7. Step 600

    600 (this color)

    #7956BA

    oklch(53.8% 0.152 297.2)

  8. Step 700

    700

    #6B4BA6

    oklch(49.2% 0.141 297.1)

  9. Step 800

    800

    #573E86

    oklch(42.7% 0.116 297.2)

  10. Step 900

    900

    #47356C

    oklch(37.6% 0.092 296.8)

  11. Step 950

    950

    #2A203F

    oklch(27.1% 0.057 297.3)

Export this scale for Tailwind in the Tailwind colors tool

#7956BA 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)#2D6ABD0.102
Deuteranopia (no green cones)#3768B80.095
Tritanopia (no blue cones)#6A6A800.119
Achromatopsia (no color)#6969690.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #7956BA

    #7956BA

    oklch(53.8% 0.152 297.2)

  • #697600

    #697600

    oklch(53.6% 0.124 117.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7956BA

    #7956BA

    oklch(53.8% 0.152 297.2)

  • #4666C5

    #4666C5

    oklch(53.6% 0.152 267.2)

  • #9A489B

    #9A489B

    oklch(53.7% 0.152 327)

Open the analogous palette in the generator

Split complementary

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

  • #7956BA

    #7956BA

    oklch(53.8% 0.152 297.2)

  • #896900

    #896900

    oklch(53.8% 0.11 87.5)

  • #138433

    #138433

    oklch(53.7% 0.152 147.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7956BA

    #7956BA

    oklch(53.8% 0.152 297.2)

  • #A45700

    #A45700

    oklch(53.8% 0.129 57.7)

  • #00806D

    #00806D

    oklch(53.6% 0.099 177.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7956BA

    #7956BA

    oklch(53.8% 0.152 297.2)

  • #B6423A

    #B6423A

    oklch(53.9% 0.152 27.3)

  • #697600

    #697600

    oklch(53.6% 0.124 117.1)

  • #007D89

    #007D89

    oklch(53.9% 0.092 206.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7956BA.

Similar named colors

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

Use #7956BA 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.