#A78EFB

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.5% 0.156 292.6), rgb(167, 142, 251).

Aa

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

About this color

#A78EFB is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.156 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.041 away. Black text reads best on it, at 7.90:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.156)
Temperaturein between
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.90:1
White text2.65:1

Values

HEX#A78EFB
RGBrgb(167, 142, 251)
HSLhsl(254, 93%, 77%)
OKLCHoklch(71.5% 0.156 292.6)

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 #A78EFB 2.65:1 Fails Lc -56.7 Large or bold text, headings
Black text on #A78EFB 7.90:1 AAA Lc 52.5 Large or bold text, headings
#A78EFB text on white 2.65:1 Fails Lc 51.5 Large or bold text, headings
#A78EFB text on black 7.90:1 AAA Lc -50.3 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FC

    oklch(93.7% 0.028 292.4)

  3. Step 200

    200

    #D9D3FB

    oklch(88.4% 0.055 292.1)

  4. Step 300

    300

    #C2B5FB

    oklch(80.9% 0.098 292.6)

  5. Step 400

    400 (this color)

    #A78EFB

    oklch(71.5% 0.156 292.6)

  6. Step 500

    500

    #916AF5

    oklch(63.1% 0.199 292.7)

  7. Step 600

    600

    #7C4CE4

    oklch(55.5% 0.217 292.4)

  8. Step 700

    700

    #693CC6

    oklch(49.1% 0.201 292.3)

  9. Step 800

    800

    #5633A0

    oklch(42.8% 0.167 292.7)

  10. Step 900

    900

    #462E7F

    oklch(37.6% 0.131 292.7)

  11. Step 950

    950

    #291C4A

    oklch(27% 0.082 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#A78EFB 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)#6BA0FF0.083
Deuteranopia (no green cones)#6E9DF80.079
Tritanopia (no blue cones)#93A3B80.130
Achromatopsia (no color)#9F9F9F0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #A78EFB

    #A78EFB

    oklch(71.5% 0.156 292.6)

  • #A5AC0F

    #A5AC0F

    oklch(71.5% 0.156 112.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A78EFB

    #A78EFB

    oklch(71.5% 0.156 292.6)

  • #70A1FF

    #70A1FF

    oklch(71.6% 0.148 262.4)

  • #D07FDB

    #D07FDB

    oklch(71.5% 0.155 322.6)

Open the analogous palette in the generator

Split complementary

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

  • #A78EFB

    #A78EFB

    oklch(71.5% 0.156 292.6)

  • #D09800

    #D09800

    oklch(71.4% 0.147 82.1)

  • #63BB5D

    #63BB5D

    oklch(71.5% 0.156 142.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A78EFB

    #A78EFB

    oklch(71.5% 0.156 292.6)

  • #ED8337

    #ED8337

    oklch(71.5% 0.156 52.5)

  • #00BE9A

    #00BE9A

    oklch(71.4% 0.138 172.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A78EFB

    #A78EFB

    oklch(71.5% 0.156 292.6)

  • #F57675

    #F57675

    oklch(71.4% 0.157 22.3)

  • #A5AC0F

    #A5AC0F

    oklch(71.5% 0.156 112.7)

  • #00B9C4

    #00B9C4

    oklch(71.5% 0.122 202.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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