#7A278F

Closest named color: Purple (#800080). oklch(44.5% 0.173 318.7), rgb(122, 39, 143).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.173)
Temperaturein between
Nearest namePurple (#800080)
Black text2.51:1
White text8.35:1

Values

HEX#7A278F
RGBrgb(122, 39, 143)
HSLhsl(288, 57%, 36%)
OKLCHoklch(44.5% 0.173 318.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 #7A278F 8.35:1 AAA Lc -92.6 Preferred for body text
Black text on #7A278F 2.51:1 Fails Lc 16.1 Dividers and decoration only
#7A278F text on white 8.35:1 AAA Lc 87.9 Fine for body text
#7A278F text on black 2.51:1 Fails Lc -14.2 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #E9CEF1

    oklch(88.5% 0.055 318.4)

  4. Step 300

    300

    #DDACEB

    oklch(81% 0.101 318.6)

  5. Step 400

    400

    #CA7DE0

    oklch(70.7% 0.16 318.5)

  6. Step 500

    500

    #BC56D7

    oklch(63.2% 0.206 318.7)

  7. Step 600

    600

    #A733C4

    oklch(55.5% 0.224 318.7)

  8. Step 700

    700

    #8F23A9

    oklch(49% 0.208 318.7)

  9. Step 800

    800 (this color)

    #7A278F

    oklch(44.5% 0.173 318.7)

  10. Step 900

    900

    #5E226E

    oklch(37.7% 0.135 318.5)

  11. Step 950

    950

    #371540

    oklch(26.9% 0.085 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#7A278F 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)#0048920.169
Deuteranopia (no green cones)#2D508D0.148
Tritanopia (no blue cones)#7A3B580.108
Achromatopsia (no color)#4E4E4E0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A278F

    #7A278F

    oklch(44.5% 0.173 318.7)

  • #226500

    #226500

    oklch(44.6% 0.14 138.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A278F

    #7A278F

    oklch(44.5% 0.173 318.7)

  • #5539AB

    #5539AB

    oklch(44.5% 0.173 288.7)

  • #921463

    #921463

    oklch(44.5% 0.173 348.8)

Open the analogous palette in the generator

Split complementary

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

  • #7A278F

    #7A278F

    oklch(44.5% 0.173 318.7)

  • #595800

    #595800

    oklch(44.7% 0.097 109)

  • #00634B

    #00634B

    oklch(44.4% 0.089 169)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A278F

    #7A278F

    oklch(44.5% 0.173 318.7)

  • #6F4D00

    #6F4D00

    oklch(44.6% 0.093 79.4)

  • #006064

    #006064

    oklch(44.4% 0.076 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A278F

    #7A278F

    oklch(44.5% 0.173 318.7)

  • #873A00

    #873A00

    oklch(44.5% 0.121 48.2)

  • #226500

    #226500

    oklch(44.6% 0.14 138.8)

  • #005C7A

    #005C7A

    oklch(44.4% 0.088 229.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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