#7972B3

Closest named color: Dark Lavender (#856798). oklch(58.5% 0.098 287.9), rgb(121, 114, 179).

Aa

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

About this color

#7972B3 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.098 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.047 away. Black text reads best on it, at 4.87:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameDark Lavender (#856798)
Black text4.87:1
White text4.31:1

Values

HEX#7972B3
RGBrgb(121, 114, 179)
HSLhsl(246, 30%, 57%)
OKLCHoklch(58.5% 0.098 287.9)

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 #7972B3 4.31:1 AA large text Lc -75.3 Fine for body text
Black text on #7972B3 4.87:1 AA Lc 34.3 Non-text elements, placeholder text
#7972B3 text on white 4.31:1 AA large text Lc 69.8 Content text, not long reading
#7972B3 text on black 4.87:1 AA Lc -31.9 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 600.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D8D7E9

    oklch(88.5% 0.025 288.4)

  4. Step 300

    300

    #BEBDDC

    oklch(80.9% 0.043 286.9)

  5. Step 400

    400

    #9E9ACB

    oklch(70.7% 0.071 288.2)

  6. Step 500

    500

    #8681BD

    oklch(63.1% 0.089 287.4)

  7. Step 600

    600 (this color)

    #7972B3

    oklch(58.5% 0.098 287.9)

  8. Step 700

    700

    #5E5892

    oklch(49.2% 0.091 287.3)

  9. Step 800

    800

    #4D4876

    oklch(42.7% 0.075 287.8)

  10. Step 900

    900

    #403C5F

    oklch(37.6% 0.059 288.4)

  11. Step 950

    950

    #252338

    oklch(26.9% 0.039 287.9)

Export this scale for Tailwind in the Tailwind colors tool

#7972B3 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)#5F7BB60.040
Deuteranopia (no green cones)#5E78B10.039
Tritanopia (no blue cones)#6B7E8A0.084
Achromatopsia (no color)#7A7A7A0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #7972B3

    #7972B3

    oklch(58.5% 0.098 287.9)

  • #828034

    #828034

    oklch(58.6% 0.098 107.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7972B3

    #7972B3

    oklch(58.5% 0.098 287.9)

  • #567DB6

    #567DB6

    oklch(58.6% 0.099 257.8)

  • #9469A2

    #9469A2

    oklch(58.6% 0.098 317.6)

Open the analogous palette in the generator

Split complementary

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

  • #7972B3

    #7972B3

    oklch(58.5% 0.098 287.9)

  • #9C7430

    #9C7430

    oklch(58.6% 0.098 77.8)

  • #5E8A4F

    #5E8A4F

    oklch(58.6% 0.099 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7972B3

    #7972B3

    oklch(58.5% 0.098 287.9)

  • #AB6946

    #AB6946

    oklch(58.5% 0.098 48)

  • #338E70

    #338E70

    oklch(58.4% 0.098 167.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7972B3

    #7972B3

    oklch(58.5% 0.098 287.9)

  • #AF6366

    #AF6366

    oklch(58.7% 0.098 18)

  • #828034

    #828034

    oklch(58.6% 0.098 107.7)

  • #078D91

    #078D91

    oklch(58.5% 0.098 198.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7972B3 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.