#A781F2

Closest named color: Periwinkle (#8E82FE). oklch(68.7% 0.164 297.4), rgb(167, 129, 242).

Aa

Black text reads best on this color (7.06:1).

About this color

#A781F2 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.164 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.042 away. Black text reads best on it, at 7.06:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.164)
Temperaturein between
Nearest namePeriwinkle (#8E82FE)
Black text7.06:1
White text2.97:1

Values

HEX#A781F2
RGBrgb(167, 129, 242)
HSLhsl(260, 81%, 73%)
OKLCHoklch(68.7% 0.164 297.4)

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 #A781F2 2.97:1 Fails Lc -61.5 Content text, not long reading
Black text on #A781F2 7.06:1 AAA Lc 47.9 Large or bold text, headings
#A781F2 text on white 2.97:1 Fails Lc 56.1 Large or bold text, headings
#A781F2 text on black 7.06:1 AAA Lc -45.7 Large or bold text, headings

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

  1. Step 50

    50

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DDD2FB

    oklch(88.6% 0.057 297.5)

  4. Step 300

    300

    #C8B3FB

    oklch(81% 0.102 297.5)

  5. Step 400

    400 (this color)

    #A781F2

    oklch(68.7% 0.164 297.4)

  6. Step 500

    500

    #9B63F5

    oklch(63% 0.21 297.8)

  7. Step 600

    600

    #8744E4

    oklch(55.7% 0.227 297.6)

  8. Step 700

    700

    #7233C6

    oklch(49% 0.212 297.4)

  9. Step 800

    800

    #5D2DA0

    oklch(42.7% 0.175 297.5)

  10. Step 900

    900

    #4C2A7F

    oklch(37.7% 0.137 297.9)

  11. Step 950

    950

    #2C1A4B

    oklch(27% 0.087 297.1)

Export this scale for Tailwind in the Tailwind colors tool

#A781F2 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)#5C96F60.103
Deuteranopia (no green cones)#6494EF0.096
Tritanopia (no blue cones)#9796AE0.130
Achromatopsia (no color)#9696960.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #A781F2

    #A781F2

    oklch(68.7% 0.164 297.4)

  • #94A600

    #94A600

    oklch(68.7% 0.159 117.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A781F2

    #A781F2

    oklch(68.7% 0.164 297.4)

  • #6E94FF

    #6E94FF

    oklch(68.8% 0.163 267.3)

  • #CF72CE

    #CF72CE

    oklch(68.8% 0.164 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #A781F2

    #A781F2

    oklch(68.7% 0.164 297.4)

  • #BF9400

    #BF9400

    oklch(68.8% 0.141 87.8)

  • #44B55B

    #44B55B

    oklch(68.8% 0.164 147.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A781F2

    #A781F2

    oklch(68.7% 0.164 297.4)

  • #E47B07

    #E47B07

    oklch(68.7% 0.165 57.1)

  • #00B49A

    #00B49A

    oklch(68.9% 0.127 177.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A781F2

    #A781F2

    oklch(68.7% 0.164 297.4)

  • #EF6C60

    #EF6C60

    oklch(68.8% 0.164 27.4)

  • #94A600

    #94A600

    oklch(68.7% 0.159 117.2)

  • #00AEC0

    #00AEC0

    oklch(68.7% 0.118 207.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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