#78148E

Closest named color: Purple (#800080). oklch(42.6% 0.19 319.1), rgb(120, 20, 142).

Aa

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

About this color

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

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

Values

HEX#78148E
RGBrgb(120, 20, 142)
HSLhsl(289, 75%, 32%)
OKLCHoklch(42.6% 0.19 319.1)

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 #78148E 9.17:1 AAA Lc -94.2 Preferred for body text
Black text on #78148E 2.28:1 Fails Lc 14.3 Not readable
#78148E text on white 9.17:1 AAA Lc 89.7 Fine for body text
#78148E text on black 2.28:1 Fails Lc -12.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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EBCDF3

    oklch(88.5% 0.061 319.1)

  4. Step 300

    300

    #E0A9EE

    oklch(80.8% 0.112 319.3)

  5. Step 400

    400

    #CF78E5

    oklch(70.8% 0.176 319.3)

  6. Step 500

    500

    #C14CDE

    oklch(63.1% 0.228 319)

  7. Step 600

    600

    #AD22CB

    oklch(55.6% 0.247 319.3)

  8. Step 700

    700

    #940EB0

    oklch(49.1% 0.23 319)

  9. Step 800

    800 (this color)

    #78148E

    oklch(42.6% 0.19 319.1)

  10. Step 900

    900

    #611C72

    oklch(37.7% 0.148 318.9)

  11. Step 950

    950

    #391343

    oklch(27.1% 0.093 318.7)

Export this scale for Tailwind in the Tailwind colors tool

#78148E 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)#0042910.178
Deuteranopia (no green cones)#1F4B8B0.168
Tritanopia (no blue cones)#7832540.116
Achromatopsia (no color)#4848480.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #78148E

    #78148E

    oklch(42.6% 0.19 319.1)

  • #1E5F00

    #1E5F00

    oklch(42.7% 0.135 139.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #78148E

    #78148E

    oklch(42.6% 0.19 319.1)

  • #522CAD

    #522CAD

    oklch(42.6% 0.19 289.1)

  • #8E005E

    #8E005E

    oklch(42.7% 0.179 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #78148E

    #78148E

    oklch(42.6% 0.19 319.1)

  • #535200

    #535200

    oklch(42.6% 0.092 108.9)

  • #005D47

    #005D47

    oklch(42.5% 0.085 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #78148E

    #78148E

    oklch(42.6% 0.19 319.1)

  • #684800

    #684800

    oklch(42.6% 0.088 79.5)

  • #005A5E

    #005A5E

    oklch(42.5% 0.072 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #78148E

    #78148E

    oklch(42.6% 0.19 319.1)

  • #7E3700

    #7E3700

    oklch(42.6% 0.114 49.2)

  • #1E5F00

    #1E5F00

    oklch(42.7% 0.135 139.1)

  • #005773

    #005773

    oklch(42.7% 0.084 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #78148E 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.