#A780F2

Closest named color: Periwinkle (#8E82FE). oklch(68.6% 0.166 297.7), rgb(167, 128, 242).

Aa

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

About this color

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

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

Values

HEX#A780F2
RGBrgb(167, 128, 242)
HSLhsl(261, 81%, 73%)
OKLCHoklch(68.6% 0.166 297.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 #A780F2 2.99:1 Fails Lc -61.8 Content text, not long reading
Black text on #A780F2 7.01:1 AAA Lc 47.6 Large or bold text, headings
#A780F2 text on white 2.99:1 Fails Lc 56.4 Large or bold text, headings
#A780F2 text on black 7.01:1 AAA Lc -45.4 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

    #C8B2FB

    oklch(80.8% 0.104 297.9)

  5. Step 400

    400 (this color)

    #A780F2

    oklch(68.6% 0.166 297.7)

  6. Step 500

    500

    #9B63F6

    oklch(63.1% 0.211 297.6)

  7. Step 600

    600

    #8743E5

    oklch(55.6% 0.23 297.5)

  8. Step 700

    700

    #7332C7

    oklch(49.1% 0.214 297.7)

  9. Step 800

    800

    #5D2CA1

    oklch(42.7% 0.177 297.4)

  10. Step 900

    900

    #4C2A80

    oklch(37.7% 0.138 297.5)

  11. Step 950

    950

    #2C1A4B

    oklch(27% 0.087 297.1)

Export this scale for Tailwind in the Tailwind colors tool

#A780F2 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)#5B95F60.105
Deuteranopia (no green cones)#6394EF0.098
Tritanopia (no blue cones)#9795AE0.130
Achromatopsia (no color)#9595950.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #A780F2

    #A780F2

    oklch(68.6% 0.166 297.7)

  • #93A600

    #93A600

    oklch(68.6% 0.159 117.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A780F2

    #A780F2

    oklch(68.6% 0.166 297.7)

  • #6E93FF

    #6E93FF

    oklch(68.6% 0.164 267.7)

  • #CF71CE

    #CF71CE

    oklch(68.7% 0.165 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #A780F2

    #A780F2

    oklch(68.6% 0.166 297.7)

  • #BE9300

    #BE9300

    oklch(68.5% 0.14 87.7)

  • #41B55A

    #41B55A

    oklch(68.7% 0.166 147.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A780F2

    #A780F2

    oklch(68.6% 0.166 297.7)

  • #E37B00

    #E37B00

    oklch(68.6% 0.165 57.8)

  • #00B399

    #00B399

    oklch(68.6% 0.127 177.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A780F2

    #A780F2

    oklch(68.6% 0.166 297.7)

  • #EF6B5E

    #EF6B5E

    oklch(68.6% 0.166 27.9)

  • #93A600

    #93A600

    oklch(68.6% 0.159 117.6)

  • #00AEBF

    #00AEBF

    oklch(68.6% 0.118 207.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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