#78238B

Closest named color: Purple (#800080). oklch(43.6% 0.173 319.6), rgb(120, 35, 139).

Aa

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

About this color

#78238B is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.173 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.038 away. White text reads best on it, at 8.70:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.173)
Temperaturein between
Nearest namePurple (#800080)
Black text2.41:1
White text8.70:1

Values

HEX#78238B
RGBrgb(120, 35, 139)
HSLhsl(289, 60%, 34%)
OKLCHoklch(43.6% 0.173 319.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 #78238B 8.70:1 AAA Lc -93.4 Preferred for body text
Black text on #78238B 2.41:1 Fails Lc 15.1 Dividers and decoration only
#78238B text on white 8.70:1 AAA Lc 88.9 Fine for body text
#78238B text on black 2.41:1 Fails Lc -13.3 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F6

    oklch(93.6% 0.029 320.6)

  3. Step 200

    200

    #EACEF1

    oklch(88.5% 0.056 319.5)

  4. Step 300

    300

    #DEACEA

    oklch(81% 0.101 319.7)

  5. Step 400

    400

    #CC7CDF

    oklch(70.7% 0.162 319.7)

  6. Step 500

    500

    #BD55D6

    oklch(63.1% 0.207 319.4)

  7. Step 600

    600

    #A932C3

    oklch(55.7% 0.225 319.7)

  8. Step 700

    700

    #9022A8

    oklch(49% 0.209 319.5)

  9. Step 800

    800 (this color)

    #78238B

    oklch(43.6% 0.173 319.6)

  10. Step 900

    900

    #5F226D

    oklch(37.7% 0.134 319.6)

  11. Step 950

    950

    #381540

    oklch(27% 0.086 319.8)

Export this scale for Tailwind in the Tailwind colors tool

#78238B 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)#00458E0.170
Deuteranopia (no green cones)#2B4E890.150
Tritanopia (no blue cones)#7838550.107
Achromatopsia (no color)#4B4B4B0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #78238B

    #78238B

    oklch(43.6% 0.173 319.6)

  • #1C6200

    #1C6200

    oklch(43.5% 0.139 139.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #78238B

    #78238B

    oklch(43.6% 0.173 319.6)

  • #5435A8

    #5435A8

    oklch(43.5% 0.174 289.5)

  • #8F0E5F

    #8F0E5F

    oklch(43.5% 0.173 349.5)

Open the analogous palette in the generator

Split complementary

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

  • #78238B

    #78238B

    oklch(43.6% 0.173 319.6)

  • #555500

    #555500

    oklch(43.5% 0.095 109.8)

  • #00604A

    #00604A

    oklch(43.5% 0.086 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #78238B

    #78238B

    oklch(43.6% 0.173 319.6)

  • #6B4A00

    #6B4A00

    oklch(43.4% 0.09 79.3)

  • #005D61

    #005D61

    oklch(43.5% 0.074 199.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #78238B

    #78238B

    oklch(43.6% 0.173 319.6)

  • #823900

    #823900

    oklch(43.6% 0.116 49.2)

  • #1C6200

    #1C6200

    oklch(43.5% 0.139 139.6)

  • #005977

    #005977

    oklch(43.4% 0.086 229.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #78238B 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.