#7B2881

Closest named color: Purple (#800080). oklch(43.9% 0.159 325), rgb(123, 40, 129).

Aa

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

About this color

#7B2881 is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.159 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.040 away. White text reads best on it, at 8.52:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.159)
Temperaturein between
Nearest namePurple (#800080)
Black text2.46:1
White text8.52:1

Values

HEX#7B2881
RGBrgb(123, 40, 129)
HSLhsl(296, 53%, 33%)
OKLCHoklch(43.9% 0.159 325)

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 #7B2881 8.52:1 AAA Lc -93.1 Preferred for body text
Black text on #7B2881 2.46:1 Fails Lc 15.5 Dividers and decoration only
#7B2881 text on white 8.52:1 AAA Lc 88.5 Fine for body text
#7B2881 text on black 2.46:1 Fails Lc -13.7 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #EBCEEC

    oklch(88.5% 0.051 325)

  4. Step 300

    300

    #E0ACE2

    oklch(80.9% 0.094 325.2)

  5. Step 400

    400

    #CE7ED3

    oklch(70.7% 0.148 324.9)

  6. Step 500

    500

    #C058C7

    oklch(63% 0.19 325.1)

  7. Step 600

    600

    #AB38B4

    oklch(55.6% 0.207 324.8)

  8. Step 700

    700

    #93299B

    oklch(49.2% 0.192 324.9)

  9. Step 800

    800 (this color)

    #7B2881

    oklch(43.9% 0.159 325)

  10. Step 900

    900

    #612465

    oklch(37.8% 0.124 325.2)

  11. Step 950

    950

    #39163B

    oklch(27% 0.079 325.4)

Export this scale for Tailwind in the Tailwind colors tool

#7B2881 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)#1546840.164
Deuteranopia (no green cones)#39507F0.140
Tritanopia (no blue cones)#7E36510.093
Achromatopsia (no color)#4C4C4C0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B2881

    #7B2881

    oklch(43.9% 0.159 325)

  • #006417

    #006417

    oklch(43.7% 0.137 145)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B2881

    #7B2881

    oklch(43.9% 0.159 325)

  • #5B379E

    #5B379E

    oklch(43.7% 0.159 295.1)

  • #8F1B57

    #8F1B57

    oklch(43.9% 0.159 354.8)

Open the analogous palette in the generator

Split complementary

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

  • #7B2881

    #7B2881

    oklch(43.9% 0.159 325)

  • #515800

    #515800

    oklch(43.9% 0.099 115)

  • #006150

    #006150

    oklch(44% 0.083 175.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B2881

    #7B2881

    oklch(43.9% 0.159 325)

  • #694D00

    #694D00

    oklch(43.8% 0.09 84.4)

  • #005E66

    #005E66

    oklch(44% 0.075 204.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B2881

    #7B2881

    oklch(43.9% 0.159 325)

  • #7E3E00

    #7E3E00

    oklch(43.8% 0.109 54.7)

  • #006417

    #006417

    oklch(43.7% 0.137 145)

  • #00597E

    #00597E

    oklch(43.8% 0.093 235.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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