#7A2866

Closest named color: Velvet (#750851). oklch(42.2% 0.136 338.7), rgb(122, 40, 102).

Aa

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

About this color

#7A2866 is a dark, moderately saturated purple. In OKLCH its lightness is 42%, its chroma 0.136 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.052 away. White text reads best on it, at 9.04:1.

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.136)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.32:1
White text9.04:1

Values

HEX#7A2866
RGBrgb(122, 40, 102)
HSLhsl(315, 51%, 32%)
OKLCHoklch(42.2% 0.136 338.7)

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 #7A2866 9.04:1 AAA Lc -94.5 Preferred for body text
Black text on #7A2866 2.32:1 Fails Lc 14.0 Not readable
#7A2866 text on white 9.04:1 AAA Lc 90.0 Preferred for body text
#7A2866 text on black 2.32:1 Fails Lc -12.3 Not readable

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

  1. Step 50

    50

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EECEE3

    oklch(88.4% 0.045 338.7)

  4. Step 300

    300

    #E4ADD2

    oklch(80.9% 0.08 338.9)

  5. Step 400

    400

    #D480BB

    oklch(70.7% 0.127 338.9)

  6. Step 500

    500

    #C65DAA

    oklch(63.1% 0.162 338.7)

  7. Step 600

    600

    #B13F95

    oklch(55.5% 0.177 338.7)

  8. Step 700

    700

    #98307F

    oklch(49.1% 0.164 338.8)

  9. Step 800

    800 (this color)

    #7A2866

    oklch(42.2% 0.136 338.7)

  10. Step 900

    900

    #642754

    oklch(37.7% 0.106 338.9)

  11. Step 950

    950

    #3B1831

    oklch(27.1% 0.066 339.4)

Export this scale for Tailwind in the Tailwind colors tool

#7A2866 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)#2C41680.145
Deuteranopia (no green cones)#454D640.127
Tritanopia (no blue cones)#812B430.064
Achromatopsia (no color)#4949490.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A2866

    #7A2866

    oklch(42.2% 0.136 338.7)

  • #005D39

    #005D39

    oklch(42.2% 0.097 158.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A2866

    #7A2866

    oklch(42.2% 0.136 338.7)

  • #633385

    #633385

    oklch(42.2% 0.136 308.7)

  • #87223E

    #87223E

    oklch(42.3% 0.136 8.9)

Open the analogous palette in the generator

Split complementary

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

  • #7A2866

    #7A2866

    oklch(42.2% 0.136 338.7)

  • #3B5800

    #3B5800

    oklch(42.1% 0.111 128.3)

  • #005A56

    #005A56

    oklch(42.2% 0.073 189.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A2866

    #7A2866

    oklch(42.2% 0.136 338.7)

  • #5A4E00

    #5A4E00

    oklch(42.3% 0.088 99.1)

  • #00576A

    #00576A

    oklch(42.2% 0.076 219.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A2866

    #7A2866

    oklch(42.2% 0.136 338.7)

  • #6E4300

    #6E4300

    oklch(42.4% 0.092 69)

  • #005D39

    #005D39

    oklch(42.2% 0.097 158.7)

  • #005089

    #005089

    oklch(42.2% 0.115 248.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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