#7D2C9A

Closest named color: Rebecca Purple (#663399). oklch(46.2% 0.178 315.6), rgb(125, 44, 154).

Aa

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

About this color

#7D2C9A is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.178 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.046 away. White text reads best on it, at 7.78:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.178)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.69:1
White text7.78:1

Values

HEX#7D2C9A
RGBrgb(125, 44, 154)
HSLhsl(284, 56%, 39%)
OKLCHoklch(46.2% 0.178 315.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 #7D2C9A 7.78:1 AAA Lc -91.0 Preferred for body text
Black text on #7D2C9A 2.69:1 Fails Lc 17.9 Dividers and decoration only
#7D2C9A text on white 7.78:1 AAA Lc 86.2 Fine for body text
#7D2C9A text on black 2.69:1 Fails Lc -15.9 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 700.

  1. Step 50

    50

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D6B0E7

    oklch(80.9% 0.086 315.3)

  5. Step 400

    400

    #C184DB

    oklch(70.6% 0.139 315.3)

  6. Step 500

    500

    #B162D0

    oklch(63% 0.176 315.6)

  7. Step 600

    600

    #9D45BD

    oklch(55.6% 0.191 315.9)

  8. Step 700

    700 (this color)

    #7D2C9A

    oklch(46.2% 0.178 315.6)

  9. Step 800

    800

    #6D2E84

    oklch(42.8% 0.147 315.9)

  10. Step 900

    900

    #582A6A

    oklch(37.7% 0.115 315.5)

  11. Step 950

    950

    #34193E

    oklch(27% 0.074 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#7D2C9A 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)#004E9D0.167
Deuteranopia (no green cones)#2A54980.149
Tritanopia (no blue cones)#7B42600.114
Achromatopsia (no color)#5252520.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D2C9A

    #7D2C9A

    oklch(46.2% 0.178 315.6)

  • #316800

    #316800

    oklch(46.1% 0.136 135.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D2C9A

    #7D2C9A

    oklch(46.2% 0.178 315.6)

  • #553FB5

    #553FB5

    oklch(46.2% 0.178 285.7)

  • #97196E

    #97196E

    oklch(46.2% 0.178 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #7D2C9A

    #7D2C9A

    oklch(46.2% 0.178 315.6)

  • #615B00

    #615B00

    oklch(46.2% 0.098 105.2)

  • #00694C

    #00694C

    oklch(46.2% 0.096 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D2C9A

    #7D2C9A

    oklch(46.2% 0.178 315.6)

  • #775000

    #775000

    oklch(46.3% 0.097 76.5)

  • #006667

    #006667

    oklch(46.2% 0.079 196)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D2C9A

    #7D2C9A

    oklch(46.2% 0.178 315.6)

  • #913A00

    #913A00

    oklch(46.2% 0.131 45.4)

  • #316800

    #316800

    oklch(46.1% 0.136 135.7)

  • #00627E

    #00627E

    oklch(46.2% 0.088 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7D2C9A 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.