#7B2882

Closest named color: Purple (#800080). oklch(43.9% 0.16 324.6), rgb(123, 40, 130).

Aa

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

About this color

#7B2882 is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.160 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.50:1.

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

Values

HEX#7B2882
RGBrgb(123, 40, 130)
HSLhsl(295, 53%, 33%)
OKLCHoklch(43.9% 0.16 324.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 #7B2882 8.50:1 AAA Lc -93.1 Preferred for body text
Black text on #7B2882 2.46:1 Fails Lc 15.6 Dividers and decoration only
#7B2882 text on white 8.50:1 AAA Lc 88.4 Fine for body text
#7B2882 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

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EBCEED

    oklch(88.5% 0.052 324)

  4. Step 300

    300

    #DFACE2

    oklch(80.8% 0.093 324.6)

  5. Step 400

    400

    #CE7ED4

    oklch(70.8% 0.149 324.5)

  6. Step 500

    500

    #C058C8

    oklch(63.1% 0.191 324.7)

  7. Step 600

    600

    #AB38B5

    oklch(55.6% 0.207 324.5)

  8. Step 700

    700

    #93289C

    oklch(49.1% 0.194 324.6)

  9. Step 800

    800 (this color)

    #7B2882

    oklch(43.9% 0.16 324.6)

  10. Step 900

    900

    #602465

    oklch(37.6% 0.124 324.6)

  11. Step 950

    950

    #39163B

    oklch(27% 0.079 325.4)

Export this scale for Tailwind in the Tailwind colors tool

#7B2882 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)#1446850.165
Deuteranopia (no green cones)#3850800.141
Tritanopia (no blue cones)#7E36520.092
Achromatopsia (no color)#4D4D4D0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B2882

    #7B2882

    oklch(43.9% 0.16 324.6)

  • #006514

    #006514

    oklch(44% 0.141 144.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B2882

    #7B2882

    oklch(43.9% 0.16 324.6)

  • #5B389F

    #5B389F

    oklch(44% 0.159 294.6)

  • #8F1A57

    #8F1A57

    oklch(43.8% 0.16 354.6)

Open the analogous palette in the generator

Split complementary

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

  • #7B2882

    #7B2882

    oklch(43.9% 0.16 324.6)

  • #525800

    #525800

    oklch(44% 0.099 114.3)

  • #00614F

    #00614F

    oklch(44% 0.083 174.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B2882

    #7B2882

    oklch(43.9% 0.16 324.6)

  • #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.

  • #7B2882

    #7B2882

    oklch(43.9% 0.16 324.6)

  • #7F3E00

    #7F3E00

    oklch(43.9% 0.11 54.3)

  • #006514

    #006514

    oklch(44% 0.141 144.5)

  • #005A7E

    #005A7E

    oklch(44.1% 0.093 234.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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