#7B2F81

Closest named color: Purple (#800080). oklch(44.7% 0.149 324.7), rgb(123, 47, 129).

Aa

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

About this color

#7B2F81 is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.149 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.053 away. White text reads best on it, at 8.18:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.149)
Temperaturein between
Nearest namePurple (#800080)
Black text2.56:1
White text8.18:1

Values

HEX#7B2F81
RGBrgb(123, 47, 129)
HSLhsl(296, 47%, 35%)
OKLCHoklch(44.7% 0.149 324.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 #7B2F81 8.18:1 AAA Lc -92.3 Preferred for body text
Black text on #7B2F81 2.56:1 Fails Lc 16.4 Dividers and decoration only
#7B2F81 text on white 8.18:1 AAA Lc 87.6 Fine for body text
#7B2F81 text on black 2.56:1 Fails Lc -14.5 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

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EACFEB

    oklch(88.5% 0.048 324.9)

  4. Step 300

    300

    #DEAEE0

    oklch(81% 0.087 325)

  5. Step 400

    400

    #CB80D0

    oklch(70.6% 0.139 324.7)

  6. Step 500

    500

    #BD5DC4

    oklch(63.2% 0.178 324.8)

  7. Step 600

    600

    #A83FB0

    oklch(55.6% 0.193 324.8)

  8. Step 700

    700

    #902F98

    oklch(49.1% 0.181 324.6)

  9. Step 800

    800 (this color)

    #7B2F81

    oklch(44.7% 0.149 324.7)

  10. Step 900

    900

    #5F2763

    oklch(37.8% 0.116 324.9)

  11. Step 950

    950

    #38183A

    oklch(27.1% 0.073 325.1)

Export this scale for Tailwind in the Tailwind colors tool

#7B2F81 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)#2149830.150
Deuteranopia (no green cones)#3D527F0.130
Tritanopia (no blue cones)#7E3B530.088
Achromatopsia (no color)#4F4F4F0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B2F81

    #7B2F81

    oklch(44.7% 0.149 324.7)

  • #006716

    #006716

    oklch(44.6% 0.142 144.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B2F81

    #7B2F81

    oklch(44.7% 0.149 324.7)

  • #5C3D9D

    #5C3D9D

    oklch(44.7% 0.149 294.5)

  • #8E2459

    #8E2459

    oklch(44.6% 0.149 354.4)

Open the analogous palette in the generator

Split complementary

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

  • #7B2F81

    #7B2F81

    oklch(44.7% 0.149 324.7)

  • #535A00

    #535A00

    oklch(44.6% 0.101 114.9)

  • #006351

    #006351

    oklch(44.6% 0.084 174.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B2F81

    #7B2F81

    oklch(44.7% 0.149 324.7)

  • #6C4F00

    #6C4F00

    oklch(44.6% 0.092 84.1)

  • #006068

    #006068

    oklch(44.6% 0.076 204.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B2F81

    #7B2F81

    oklch(44.7% 0.149 324.7)

  • #824000

    #824000

    oklch(44.7% 0.111 54.6)

  • #006716

    #006716

    oklch(44.6% 0.142 144.7)

  • #005C81

    #005C81

    oklch(44.8% 0.095 234.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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