#7960BA

Closest named color: Deep Lavender (#8D5EB7). oklch(55.5% 0.137 294.3), rgb(121, 96, 186).

Aa

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

About this color

#7960BA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.137 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.034 away. White text reads best on it, at 5.00:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.19:1
White text5.00:1

Values

HEX#7960BA
RGBrgb(121, 96, 186)
HSLhsl(257, 39%, 55%)
OKLCHoklch(55.5% 0.137 294.3)

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 #7960BA 5.00:1 AA Lc -79.8 Fine for body text
Black text on #7960BA 4.19:1 AA large text Lc 29.6 Dividers and decoration only
#7960BA text on white 5.00:1 AA Lc 74.4 Content text, not long reading
#7960BA text on black 4.19:1 AA large text Lc -27.3 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

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EE

    oklch(88.5% 0.034 294.9)

  4. Step 300

    300

    #C2B9E5

    oklch(80.8% 0.062 294.3)

  5. Step 400

    400

    #A494D8

    oklch(70.6% 0.099 294.5)

  6. Step 500

    500

    #8F79CD

    oklch(63.1% 0.125 294.6)

  7. Step 600

    600 (this color)

    #7960BA

    oklch(55.5% 0.137 294.3)

  8. Step 700

    700

    #664FA1

    oklch(49.1% 0.128 294.1)

  9. Step 800

    800

    #534182

    oklch(42.6% 0.105 294.2)

  10. Step 900

    900

    #453868

    oklch(37.8% 0.081 294.7)

  11. Step 950

    950

    #28213D

    oklch(27% 0.052 294.2)

Export this scale for Tailwind in the Tailwind colors tool

#7960BA 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)#4070BD0.081
Deuteranopia (no green cones)#456EB80.076
Tritanopia (no blue cones)#6A71840.110
Achromatopsia (no color)#6F6F6F0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #7960BA

    #7960BA

    oklch(55.5% 0.137 294.3)

  • #727A00

    #727A00

    oklch(55.4% 0.125 114.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7960BA

    #7960BA

    oklch(55.5% 0.137 294.3)

  • #4A6FC2

    #4A6FC2

    oklch(55.5% 0.136 264.3)

  • #99549F

    #99549F

    oklch(55.5% 0.135 324.2)

Open the analogous palette in the generator

Split complementary

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

  • #7960BA

    #7960BA

    oklch(55.5% 0.137 294.3)

  • #926C00

    #926C00

    oklch(55.5% 0.114 84.1)

  • #37873B

    #37873B

    oklch(55.6% 0.136 144.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7960BA

    #7960BA

    oklch(55.5% 0.137 294.3)

  • #AE5805

    #AE5805

    oklch(55.4% 0.137 54.1)

  • #00876F

    #00876F

    oklch(55.6% 0.106 174.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7960BA

    #7960BA

    oklch(55.5% 0.137 294.3)

  • #B54D4A

    #B54D4A

    oklch(55.5% 0.136 24.2)

  • #727A00

    #727A00

    oklch(55.4% 0.125 114.3)

  • #00838D

    #00838D

    oklch(55.6% 0.095 204.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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