#7A2A8C

Closest named color: Purple (#800080). oklch(44.6% 0.166 319.7), rgb(122, 42, 140).

Aa

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

About this color

#7A2A8C is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.166 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.046 away. White text reads best on it, at 8.27:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.166)
Temperaturein between
Nearest namePurple (#800080)
Black text2.53:1
White text8.27:1

Values

HEX#7A2A8C
RGBrgb(122, 42, 140)
HSLhsl(289, 54%, 36%)
OKLCHoklch(44.6% 0.166 319.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 #7A2A8C 8.27:1 AAA Lc -92.4 Preferred for body text
Black text on #7A2A8C 2.53:1 Fails Lc 16.2 Dividers and decoration only
#7A2A8C text on white 8.27:1 AAA Lc 87.8 Fine for body text
#7A2A8C text on black 2.53:1 Fails Lc -14.4 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CEF0

    oklch(88.4% 0.054 319.3)

  4. Step 300

    300

    #DDADE8

    oklch(81% 0.096 320)

  5. Step 400

    400

    #CA7EDC

    oklch(70.7% 0.154 319.8)

  6. Step 500

    500

    #BB58D3

    oklch(63.1% 0.199 319.4)

  7. Step 600

    600

    #A737C0

    oklch(55.6% 0.216 319.6)

  8. Step 700

    700

    #8F27A5

    oklch(49.1% 0.201 319.9)

  9. Step 800

    800 (this color)

    #7A2A8C

    oklch(44.6% 0.166 319.7)

  10. Step 900

    900

    #5E246B

    oklch(37.7% 0.129 319.9)

  11. Step 950

    950

    #37163F

    oklch(27% 0.082 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#7A2A8C 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)#01498F0.167
Deuteranopia (no green cones)#32518A0.142
Tritanopia (no blue cones)#7A3C580.102
Achromatopsia (no color)#4E4E4E0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A2A8C

    #7A2A8C

    oklch(44.6% 0.166 319.7)

  • #1D6600

    #1D6600

    oklch(44.8% 0.143 139.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A2A8C

    #7A2A8C

    oklch(44.6% 0.166 319.7)

  • #573BA8

    #573BA8

    oklch(44.7% 0.166 289.8)

  • #911A61

    #911A61

    oklch(44.6% 0.166 349.9)

Open the analogous palette in the generator

Split complementary

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

  • #7A2A8C

    #7A2A8C

    oklch(44.6% 0.166 319.7)

  • #585800

    #585800

    oklch(44.6% 0.097 109.8)

  • #00644C

    #00644C

    oklch(44.7% 0.089 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A2A8C

    #7A2A8C

    oklch(44.6% 0.166 319.7)

  • #6F4D00

    #6F4D00

    oklch(44.6% 0.093 79.4)

  • #006165

    #006165

    oklch(44.8% 0.076 199.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A2A8C

    #7A2A8C

    oklch(44.6% 0.166 319.7)

  • #863C00

    #863C00

    oklch(44.7% 0.118 50)

  • #1D6600

    #1D6600

    oklch(44.8% 0.143 139.7)

  • #005D7C

    #005D7C

    oklch(44.8% 0.089 229.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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