#A78BEF

Closest named color: Perrywinkle (#8F8CE7). oklch(70.3% 0.145 295.3), rgb(167, 139, 239).

Aa

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

About this color

#A78BEF is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.145 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.038 away. Black text reads best on it, at 7.58:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.145)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.58:1
White text2.76:1

Values

HEX#A78BEF
RGBrgb(167, 139, 239)
HSLhsl(257, 76%, 74%)
OKLCHoklch(70.3% 0.145 295.3)

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 #A78BEF 2.76:1 Fails Lc -58.6 Large or bold text, headings
Black text on #A78BEF 7.58:1 AAA Lc 50.7 Large or bold text, headings
#A78BEF text on white 2.76:1 Fails Lc 53.3 Large or bold text, headings
#A78BEF text on black 7.58:1 AAA Lc -48.5 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DBD3F8

    oklch(88.5% 0.051 295.2)

  4. Step 300

    300

    #C5B5F5

    oklch(80.9% 0.091 295.8)

  5. Step 400

    400 (this color)

    #A78BEF

    oklch(70.3% 0.145 295.3)

  6. Step 500

    500

    #946CEB

    oklch(63.1% 0.184 295.1)

  7. Step 600

    600

    #804FD9

    oklch(55.5% 0.201 295.4)

  8. Step 700

    700

    #6C3FBD

    oklch(49.1% 0.187 295)

  9. Step 800

    800

    #583598

    oklch(42.6% 0.154 295.4)

  10. Step 900

    900

    #483079

    oklch(37.7% 0.119 295.2)

  11. Step 950

    950

    #2A1D47

    oklch(27.1% 0.076 295.1)

Export this scale for Tailwind in the Tailwind colors tool

#A78BEF 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)#6D9CF30.082
Deuteranopia (no green cones)#729AEC0.077
Tritanopia (no blue cones)#979DB20.116
Achromatopsia (no color)#9B9B9B0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #A78BEF

    #A78BEF

    oklch(70.3% 0.145 295.3)

  • #9DA92B

    #9DA92B

    oklch(70.3% 0.144 115)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A78BEF

    #A78BEF

    oklch(70.3% 0.145 295.3)

  • #739CF9

    #739CF9

    oklch(70.4% 0.144 264.9)

  • #CC7DD0

    #CC7DD0

    oklch(70.2% 0.145 325.3)

Open the analogous palette in the generator

Split complementary

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

  • #A78BEF

    #A78BEF

    oklch(70.3% 0.145 295.3)

  • #C89700

    #C89700

    oklch(70.4% 0.144 85.3)

  • #5EB765

    #5EB765

    oklch(70.4% 0.145 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A78BEF

    #A78BEF

    oklch(70.3% 0.145 295.3)

  • #E3843A

    #E3843A

    oklch(70.3% 0.145 55.1)

  • #00BA9B

    #00BA9B

    oklch(70.4% 0.133 175)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A78BEF

    #A78BEF

    oklch(70.3% 0.145 295.3)

  • #EC7870

    #EC7870

    oklch(70.4% 0.145 25.5)

  • #9DA92B

    #9DA92B

    oklch(70.3% 0.144 115)

  • #00B4C3

    #00B4C3

    oklch(70.3% 0.12 205.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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