#A793FD

Closest named color: Periwinkle Blue (#8F99FB). oklch(72.5% 0.151 290.8), rgb(167, 147, 253).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.151)
Temperaturein between
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.23:1
White text2.55:1

Values

HEX#A793FD
RGBrgb(167, 147, 253)
HSLhsl(251, 96%, 78%)
OKLCHoklch(72.5% 0.151 290.8)

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 #A793FD 2.55:1 Fails Lc -54.9 Large or bold text, headings
Black text on #A793FD 8.23:1 AAA Lc 54.2 Large or bold text, headings
#A793FD text on white 2.55:1 Fails Lc 49.8 Large or bold text, headings
#A793FD text on black 8.23:1 AAA Lc -52.1 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

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4FA

    oklch(88.5% 0.052 290.1)

  4. Step 300

    300

    #C0B6FA

    oklch(80.9% 0.095 290.8)

  5. Step 400

    400 (this color)

    #A793FD

    oklch(72.5% 0.151 290.8)

  6. Step 500

    500

    #8D6DF3

    oklch(63.1% 0.193 290.8)

  7. Step 600

    600

    #7950E2

    oklch(55.7% 0.21 290.9)

  8. Step 700

    700

    #663FC4

    oklch(49.1% 0.195 290.9)

  9. Step 800

    800

    #53359F

    oklch(42.7% 0.163 290.9)

  10. Step 900

    900

    #44307E

    oklch(37.7% 0.126 290.9)

  11. Step 950

    950

    #271D4A

    oklch(27% 0.08 290.2)

Export this scale for Tailwind in the Tailwind colors tool

#A793FD 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)#71A4FF0.076
Deuteranopia (no green cones)#72A0FA0.073
Tritanopia (no blue cones)#92A7BC0.126
Achromatopsia (no color)#A2A2A20.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #A793FD

    #A793FD

    oklch(72.5% 0.151 290.8)

  • #ABAE1F

    #ABAE1F

    oklch(72.5% 0.151 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A793FD

    #A793FD

    oklch(72.5% 0.151 290.8)

  • #71A5FF

    #71A5FF

    oklch(72.4% 0.143 260.8)

  • #D084DF

    #D084DF

    oklch(72.4% 0.151 320.8)

Open the analogous palette in the generator

Split complementary

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

  • #A793FD

    #A793FD

    oklch(72.5% 0.151 290.8)

  • #D69A00

    #D69A00

    oklch(72.5% 0.15 80.6)

  • #6DBD5F

    #6DBD5F

    oklch(72.5% 0.151 140.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A793FD

    #A793FD

    oklch(72.5% 0.151 290.8)

  • #EF8743

    #EF8743

    oklch(72.5% 0.151 51.2)

  • #00C29A

    #00C29A

    oklch(72.5% 0.142 171)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A793FD

    #A793FD

    oklch(72.5% 0.151 290.8)

  • #F67B7D

    #F67B7D

    oklch(72.4% 0.151 20.5)

  • #ABAE1F

    #ABAE1F

    oklch(72.5% 0.151 110.9)

  • #00BDC5

    #00BDC5

    oklch(72.6% 0.123 200.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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