#A8027F

Closest named color: Red Violet (#9E0168). oklch(49.1% 0.209 342.9), rgb(168, 2, 127).

Aa

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

About this color

#A8027F is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.209 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.041 away. White text reads best on it, at 7.04:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.209)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.98:1
White text7.04:1

Values

HEX#A8027F
RGBrgb(168, 2, 127)
HSLhsl(315, 98%, 33%)
OKLCHoklch(49.1% 0.209 342.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 #A8027F 7.04:1 AAA Lc -87.2 Fine for body text
Black text on #A8027F 2.98:1 Fails Lc 21.9 Dividers and decoration only
#A8027F text on white 7.04:1 AAA Lc 82.1 Fine for body text
#A8027F text on black 2.98:1 Fails Lc -19.8 Dividers and decoration only

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 700.

  1. Step 50

    50

    #FDF2F8

    oklch(97.1% 0.014 343.2)

  2. Step 100

    100

    #F9E3EF

    oklch(93.7% 0.029 343.6)

  3. Step 200

    200

    #F5CBE3

    oklch(88.5% 0.057 343)

  4. Step 300

    300

    #EFA6D2

    oklch(80.8% 0.102 342.8)

  5. Step 400

    400

    #E373BB

    oklch(70.6% 0.162 342.8)

  6. Step 500

    500

    #D847AA

    oklch(63.1% 0.207 342.9)

  7. Step 600

    600

    #C31A95

    oklch(55.6% 0.225 342.9)

  8. Step 700

    700 (this color)

    #A8027F

    oklch(49.1% 0.209 342.9)

  9. Step 800

    800

    #890E67

    oklch(42.8% 0.174 343.2)

  10. Step 900

    900

    #6E1854

    oklch(37.7% 0.136 342.9)

  11. Step 950

    950

    #411131

    oklch(27.1% 0.085 343.4)

Export this scale for Tailwind in the Tailwind colors tool

#A8027F 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)#2349820.240
Deuteranopia (no green cones)#57617C0.202
Tritanopia (no blue cones)#B404490.094
Achromatopsia (no color)#5959590.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8027F

    #A8027F

    oklch(49.1% 0.209 342.9)

  • #00734F

    #00734F

    oklch(49.1% 0.106 163)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8027F

    #A8027F

    oklch(49.1% 0.209 342.9)

  • #8827B2

    #8827B2

    oklch(49% 0.21 312.9)

  • #B40040

    #B40040

    oklch(49.1% 0.196 12.8)

Open the analogous palette in the generator

Split complementary

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

  • #A8027F

    #A8027F

    oklch(49.1% 0.209 342.9)

  • #3F7000

    #3F7000

    oklch(49.1% 0.138 133)

  • #006F6E

    #006F6E

    oklch(49% 0.084 193.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8027F

    #A8027F

    oklch(49.1% 0.209 342.9)

  • #6C6200

    #6C6200

    oklch(49% 0.103 102.5)

  • #006B86

    #006B86

    oklch(49% 0.091 223.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8027F

    #A8027F

    oklch(49.1% 0.209 342.9)

  • #845500

    #845500

    oklch(49% 0.105 72.4)

  • #00734F

    #00734F

    oklch(49.1% 0.106 163)

  • #0060B3

    #0060B3

    oklch(49% 0.152 253.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A8027F.

Similar named colors

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

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