#78226C

Closest named color: Purple (#800080). oklch(41.6% 0.147 334), rgb(120, 34, 108).

Aa

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

About this color

#78226C is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.147 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.049 away. White text reads best on it, at 9.35:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.147)
Temperaturein between
Nearest namePurple (#800080)
Black text2.24:1
White text9.35:1

Values

HEX#78226C
RGBrgb(120, 34, 108)
HSLhsl(308, 56%, 30%)
OKLCHoklch(41.6% 0.147 334)

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 #78226C 9.35:1 AAA Lc -95.1 Preferred for body text
Black text on #78226C 2.24:1 Fails Lc 13.3 Not readable
#78226C text on white 9.35:1 AAA Lc 90.7 Preferred for body text
#78226C text on black 2.24:1 Fails Lc -11.6 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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EECEE6

    oklch(88.5% 0.048 334.8)

  4. Step 300

    300

    #E4ACD8

    oklch(80.9% 0.087 334.1)

  5. Step 400

    400

    #D47EC4

    oklch(70.8% 0.138 334.1)

  6. Step 500

    500

    #C659B5

    oklch(63.1% 0.177 333.8)

  7. Step 600

    600

    #B13AA0

    oklch(55.5% 0.191 334.1)

  8. Step 700

    700

    #982B89

    oklch(49.1% 0.178 334.1)

  9. Step 800

    800 (this color)

    #78226C

    oklch(41.6% 0.147 334)

  10. Step 900

    900

    #64255A

    oklch(37.8% 0.114 334.2)

  11. Step 950

    950

    #3B1635

    oklch(27% 0.074 334)

Export this scale for Tailwind in the Tailwind colors tool

#78226C 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)#203F6E0.159
Deuteranopia (no green cones)#3E4B6A0.136
Tritanopia (no blue cones)#7E29440.075
Achromatopsia (no color)#4747470.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #78226C

    #78226C

    oklch(41.6% 0.147 334)

  • #005C30

    #005C30

    oklch(41.7% 0.105 153.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #78226C

    #78226C

    oklch(41.6% 0.147 334)

  • #5E2F8B

    #5E2F8B

    oklch(41.5% 0.148 304.1)

  • #871842

    #871842

    oklch(41.5% 0.147 4.2)

Open the analogous palette in the generator

Split complementary

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

  • #78226C

    #78226C

    oklch(41.6% 0.147 334)

  • #405500

    #405500

    oklch(41.7% 0.104 124.4)

  • #005950

    #005950

    oklch(41.7% 0.074 183.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #78226C

    #78226C

    oklch(41.6% 0.147 334)

  • #5B4A00

    #5B4A00

    oklch(41.5% 0.085 93.8)

  • #005664

    #005664

    oklch(41.6% 0.073 213.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #78226C

    #78226C

    oklch(41.6% 0.147 334)

  • #6E3F00

    #6E3F00

    oklch(41.6% 0.094 64.6)

  • #005C30

    #005C30

    oklch(41.7% 0.105 153.9)

  • #00507F

    #00507F

    oklch(41.6% 0.103 244)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #78226C 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.