#A782F2

Closest named color: Periwinkle (#8E82FE). oklch(68.9% 0.162 297.2), rgb(167, 130, 242).

Aa

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

About this color

#A782F2 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.162 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.11:1.

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

Values

HEX#A782F2
RGBrgb(167, 130, 242)
HSLhsl(260, 81%, 73%)
OKLCHoklch(68.9% 0.162 297.2)

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 #A782F2 2.95:1 Fails Lc -61.2 Content text, not long reading
Black text on #A782F2 7.11:1 AAA Lc 48.2 Large or bold text, headings
#A782F2 text on white 2.95:1 Fails Lc 55.8 Large or bold text, headings
#A782F2 text on black 7.11:1 AAA Lc -46.0 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

    #C7B3FA

    oklch(80.9% 0.101 297)

  5. Step 400

    400 (this color)

    #A782F2

    oklch(68.9% 0.162 297.2)

  6. Step 500

    500

    #9A64F5

    oklch(63.1% 0.208 297.2)

  7. Step 600

    600

    #8645E3

    oklch(55.6% 0.225 297.3)

  8. Step 700

    700

    #7235C6

    oklch(49.2% 0.21 297.1)

  9. Step 800

    800

    #5C2DA0

    oklch(42.6% 0.175 297)

  10. Step 900

    900

    #4B2B7F

    oklch(37.7% 0.135 296.9)

  11. Step 950

    950

    #2C1A4A

    oklch(27% 0.086 297.6)

Export this scale for Tailwind in the Tailwind colors tool

#A782F2 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)#5E97F60.101
Deuteranopia (no green cones)#6695EF0.094
Tritanopia (no blue cones)#9797AF0.128
Achromatopsia (no color)#9696960.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #A782F2

    #A782F2

    oklch(68.9% 0.162 297.2)

  • #95A700

    #95A700

    oklch(69% 0.159 117.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A782F2

    #A782F2

    oklch(68.9% 0.162 297.2)

  • #6E94FF

    #6E94FF

    oklch(68.8% 0.163 267.3)

  • #CF73CF

    #CF73CF

    oklch(69% 0.163 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #A782F2

    #A782F2

    oklch(68.9% 0.162 297.2)

  • #C09400

    #C09400

    oklch(68.9% 0.141 87.3)

  • #47B55C

    #47B55C

    oklch(68.9% 0.162 147.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A782F2

    #A782F2

    oklch(68.9% 0.162 297.2)

  • #E47C11

    #E47C11

    oklch(68.9% 0.163 57)

  • #00B49A

    #00B49A

    oklch(68.9% 0.127 177.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A782F2

    #A782F2

    oklch(68.9% 0.162 297.2)

  • #EF6D62

    #EF6D62

    oklch(69% 0.163 27)

  • #95A700

    #95A700

    oklch(69% 0.159 117.2)

  • #00AFC0

    #00AFC0

    oklch(68.9% 0.118 207)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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