#A788FB

Closest named color: Lavender Blue (#8B88F8). oklch(70.4% 0.165 294.2), rgb(167, 136, 251).

Aa

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

About this color

#A788FB is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.165 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.042 away. Black text reads best on it, at 7.55:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.165)
Temperaturein between
Nearest nameLavender Blue (#8B88F8)
Black text7.55:1
White text2.77:1

Values

HEX#A788FB
RGBrgb(167, 136, 251)
HSLhsl(256, 93%, 76%)
OKLCHoklch(70.4% 0.165 294.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 #A788FB 2.77:1 Fails Lc -58.6 Large or bold text, headings
Black text on #A788FB 7.55:1 AAA Lc 50.6 Large or bold text, headings
#A788FB text on white 2.77:1 Fails Lc 53.4 Large or bold text, headings
#A788FB text on black 7.55:1 AAA Lc -48.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

    #EAE6FC

    oklch(93.5% 0.03 294.2)

  3. Step 200

    200

    #DBD2FC

    oklch(88.4% 0.058 295)

  4. Step 300

    300

    #C4B4FD

    oklch(80.9% 0.103 294)

  5. Step 400

    400 (this color)

    #A788FB

    oklch(70.4% 0.165 294.2)

  6. Step 500

    500

    #9566F9

    oklch(63.2% 0.21 294.3)

  7. Step 600

    600

    #8146E8

    oklch(55.6% 0.229 294.4)

  8. Step 700

    700

    #6D36CA

    oklch(49.1% 0.213 294.1)

  9. Step 800

    800

    #592EA3

    oklch(42.7% 0.177 294.5)

  10. Step 900

    900

    #482C82

    oklch(37.8% 0.138 293.7)

  11. Step 950

    950

    #2A1B4C

    oklch(27.1% 0.087 293.9)

Export this scale for Tailwind in the Tailwind colors tool

#A788FB 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)#619CFF0.095
Deuteranopia (no green cones)#6699F80.090
Tritanopia (no blue cones)#939EB60.133
Achromatopsia (no color)#9B9B9B0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #A788FB

    #A788FB

    oklch(70.4% 0.165 294.2)

  • #9FAA00

    #9FAA00

    oklch(70.5% 0.159 114.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A788FB

    #A788FB

    oklch(70.4% 0.165 294.2)

  • #6E9CFF

    #6E9CFF

    oklch(70.4% 0.154 264)

  • #D178D9

    #D178D9

    oklch(70.4% 0.165 324.1)

Open the analogous palette in the generator

Split complementary

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

  • #A788FB

    #A788FB

    oklch(70.4% 0.165 294.2)

  • #CA9600

    #CA9600

    oklch(70.4% 0.145 83.7)

  • #55B958

    #55B958

    oklch(70.3% 0.165 144.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A788FB

    #A788FB

    oklch(70.4% 0.165 294.2)

  • #EC7E21

    #EC7E21

    oklch(70.4% 0.165 54.1)

  • #00BA9A

    #00BA9A

    oklch(70.4% 0.133 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A788FB

    #A788FB

    oklch(70.4% 0.165 294.2)

  • #F5706B

    #F5706B

    oklch(70.4% 0.165 24.4)

  • #9FAA00

    #9FAA00

    oklch(70.5% 0.159 114.3)

  • #00B5C2

    #00B5C2

    oklch(70.5% 0.12 203.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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