#840779

Closest named color: Purple (#800080). oklch(42.6% 0.187 332.9), rgb(132, 7, 121).

Aa

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

About this color

#840779 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.187 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.017 away. White text reads best on it, at 9.17:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.187)
Temperaturein between
Nearest namePurple (#800080)
Black text2.28:1
White text9.17:1

Values

HEX#840779
RGBrgb(132, 7, 121)
HSLhsl(305, 90%, 27%)
OKLCHoklch(42.6% 0.187 332.9)

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 #840779 9.17:1 AAA Lc -93.8 Preferred for body text
Black text on #840779 2.28:1 Fails Lc 14.7 Not readable
#840779 text on white 9.17:1 AAA Lc 89.3 Fine for body text
#840779 text on black 2.28:1 Fails Lc -13.0 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

    #FCF2FA

    oklch(97.1% 0.015 332.2)

  2. Step 100

    100

    #F7E3F3

    oklch(93.6% 0.03 332.5)

  3. Step 200

    200

    #F2CBEB

    oklch(88.5% 0.061 332.2)

  4. Step 300

    300

    #EBA6DF

    oklch(80.9% 0.109 332.8)

  5. Step 400

    400

    #DE72CF

    oklch(70.7% 0.175 332.7)

  6. Step 500

    500

    #D244C2

    oklch(63.1% 0.223 332.8)

  7. Step 600

    600

    #BD11AE

    oklch(55.5% 0.242 332.8)

  8. Step 700

    700

    #A20094

    oklch(49.1% 0.22 333.1)

  9. Step 800

    800 (this color)

    #840779

    oklch(42.6% 0.187 332.9)

  10. Step 900

    900

    #6B1662

    oklch(37.7% 0.146 332.9)

  11. Step 950

    950

    #3F1039

    oklch(27% 0.092 333.3)

Export this scale for Tailwind in the Tailwind colors tool

#840779 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)#003D7C0.209
Deuteranopia (no green cones)#3A4D760.173
Tritanopia (no blue cones)#8A1D460.096
Achromatopsia (no color)#4848480.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #840779

    #840779

    oklch(42.6% 0.187 332.9)

  • #005F30

    #005F30

    oklch(42.6% 0.109 153.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840779

    #840779

    oklch(42.6% 0.187 332.9)

  • #6523A0

    #6523A0

    oklch(42.6% 0.187 303)

  • #920046

    #920046

    oklch(42.6% 0.172 2.7)

Open the analogous palette in the generator

Split complementary

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

  • #840779

    #840779

    oklch(42.6% 0.187 332.9)

  • #445700

    #445700

    oklch(42.5% 0.104 123)

  • #005C52

    #005C52

    oklch(42.6% 0.076 182.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840779

    #840779

    oklch(42.6% 0.187 332.9)

  • #5F4D00

    #5F4D00

    oklch(42.6% 0.087 93.4)

  • #005967

    #005967

    oklch(42.6% 0.075 213)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840779

    #840779

    oklch(42.6% 0.187 332.9)

  • #734100

    #734100

    oklch(42.7% 0.097 63.4)

  • #005F30

    #005F30

    oklch(42.6% 0.109 153.1)

  • #005382

    #005382

    oklch(42.5% 0.103 243.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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