#A40BE7

Closest named color: Vibrant Purple (#AD03DE). oklch(55.6% 0.277 310.1), rgb(164, 11, 231).

Aa

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

About this color

#A40BE7 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.277 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.55:1.

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

Values

HEX#A40BE7
RGBrgb(164, 11, 231)
HSLhsl(282, 91%, 47%)
OKLCHoklch(55.6% 0.277 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 #A40BE7 5.55:1 AA Lc -80.9 Fine for body text
Black text on #A40BE7 3.78:1 AA large text Lc 28.6 Dividers and decoration only
#A40BE7 text on white 5.55:1 AA Lc 75.5 Fine for body text
#A40BE7 text on black 3.78:1 AA large text Lc -26.2 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

    #D9AAFD

    oklch(81% 0.124 309.7)

  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)

    #A40BE7

    oklch(55.6% 0.277 310.1)

  8. Step 700

    700

    #8B00C5

    oklch(49.1% 0.248 310.2)

  9. Step 800

    800

    #7204A2

    oklch(42.6% 0.213 310.2)

  10. Step 900

    900

    #5C1781

    oklch(37.7% 0.166 310)

  11. Step 950

    950

    #36114B

    oklch(27% 0.104 310.4)

Export this scale for Tailwind in the Tailwind colors tool

#A40BE7 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.217
Deuteranopia (no green cones)#006AE30.221
Tritanopia (no blue cones)#9A56880.186
Achromatopsia (no color)#6868680.279

Harmonies

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

Complementary

The opposite hue (180°).

  • #A40BE7

    #A40BE7

    oklch(55.6% 0.277 310.1)

  • #548300

    #548300

    oklch(55.5% 0.15 130.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A40BE7

    #A40BE7

    oklch(55.6% 0.277 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°).

  • #A40BE7

    #A40BE7

    oklch(55.6% 0.277 310.1)

  • #837400

    #837400

    oklch(55.6% 0.116 100.3)

  • #008959

    #008959

    oklch(55.6% 0.126 160)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A40BE7

    #A40BE7

    oklch(55.6% 0.277 310.1)

  • #9F6500

    #9F6500

    oklch(55.7% 0.12 70.6)

  • #008580

    #008580

    oklch(55.7% 0.096 190.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A40BE7

    #A40BE7

    oklch(55.6% 0.277 310.1)

  • #C24300

    #C24300

    oklch(55.5% 0.173 40.3)

  • #548300

    #548300

    oklch(55.5% 0.15 130.2)

  • #00809C

    #00809C

    oklch(55.5% 0.101 220.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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