#A40FE7

Closest named color: Vibrant Purple (#AD03DE). oklch(55.7% 0.275 310.1), rgb(164, 15, 231).

Aa

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

About this color

#A40FE7 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.275 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.024 away. White text reads best on it, at 5.52:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.275)
Temperaturein between
Nearest nameVibrant Purple (#AD03DE)
Black text3.80:1
White text5.52:1

Values

HEX#A40FE7
RGBrgb(164, 15, 231)
HSLhsl(281, 88%, 48%)
OKLCHoklch(55.7% 0.275 310.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 #A40FE7 5.52:1 AA Lc -80.8 Fine for body text
Black text on #A40FE7 3.80:1 AA large text Lc 28.6 Dividers and decoration only
#A40FE7 text on white 5.52:1 AA Lc 75.4 Fine for body text
#A40FE7 text on black 3.80:1 AA large text Lc -26.3 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 600.

  1. Step 50

    50

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F1E4FC

    oklch(93.6% 0.035 309.8)

  3. Step 200

    200

    #E7CDFC

    oklch(88.5% 0.069 309.8)

  4. Step 300

    300

    #D9AAFC

    oklch(80.9% 0.123 310)

  5. Step 400

    400

    #C676FB

    oklch(70.6% 0.199 310)

  6. Step 500

    500

    #B847F8

    oklch(63.1% 0.254 310.2)

  7. Step 600

    600 (this color)

    #A40FE7

    oklch(55.7% 0.275 310.1)

  8. Step 700

    700

    #8B00C5

    oklch(49.1% 0.248 310.2)

  9. Step 800

    800

    #7206A2

    oklch(42.7% 0.212 310.2)

  10. Step 900

    900

    #5C1881

    oklch(37.7% 0.165 309.9)

  11. Step 950

    950

    #36114B

    oklch(27% 0.104 310.4)

Export this scale for Tailwind in the Tailwind colors tool

#A40FE7 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)#0063EC0.216
Deuteranopia (no green cones)#006AE30.220
Tritanopia (no blue cones)#9A56880.185
Achromatopsia (no color)#6969690.278

Harmonies

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

Complementary

The opposite hue (180°).

  • #A40FE7

    #A40FE7

    oklch(55.7% 0.275 310.1)

  • #558400

    #558400

    oklch(55.8% 0.15 130.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A40FE7

    #A40FE7

    oklch(55.7% 0.275 310.1)

  • #624CFF

    #624CFF

    oklch(55.6% 0.251 280)

  • #C5009E

    #C5009E

    oklch(55.6% 0.241 340)

Open the analogous palette in the generator

Split complementary

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

  • #A40FE7

    #A40FE7

    oklch(55.7% 0.275 310.1)

  • #847400

    #847400

    oklch(55.7% 0.116 99.7)

  • #008959

    #008959

    oklch(55.6% 0.126 160)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A40FE7

    #A40FE7

    oklch(55.7% 0.275 310.1)

  • #A06500

    #A06500

    oklch(55.8% 0.121 70)

  • #008580

    #008580

    oklch(55.7% 0.096 190.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A40FE7

    #A40FE7

    oklch(55.7% 0.275 310.1)

  • #C34300

    #C34300

    oklch(55.7% 0.174 40.1)

  • #558400

    #558400

    oklch(55.8% 0.15 130.1)

  • #00819C

    #00819C

    oklch(55.8% 0.101 219.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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