#AF7EFA

Closest named color: Light Purple (#BF77F6). oklch(69.4% 0.18 300), rgb(175, 126, 250).

Aa

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

About this color

#AF7EFA is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.180 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.029 away. Black text reads best on it, at 7.18:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.180)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.18:1
White text2.92:1

Values

HEX#AF7EFA
RGBrgb(175, 126, 250)
HSLhsl(264, 93%, 74%)
OKLCHoklch(69.4% 0.18 300)

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 #AF7EFA 2.92:1 Fails Lc -60.7 Content text, not long reading
Black text on #AF7EFA 7.18:1 AAA Lc 48.7 Large or bold text, headings
#AF7EFA text on white 2.92:1 Fails Lc 55.4 Large or bold text, headings
#AF7EFA text on black 7.18:1 AAA Lc -46.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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE5FD

    oklch(93.5% 0.033 300.9)

  3. Step 200

    200

    #DFD0FD

    oklch(88.4% 0.063 300.3)

  4. Step 300

    300

    #CCB0FF

    oklch(80.9% 0.113 300.2)

  5. Step 400

    400 (this color)

    #AF7EFA

    oklch(69.4% 0.18 300)

  6. Step 500

    500

    #A25BFC

    oklch(63.1% 0.229 300.1)

  7. Step 600

    600

    #8E37EB

    oklch(55.6% 0.249 300.1)

  8. Step 700

    700

    #7926CD

    oklch(49.2% 0.232 299.9)

  9. Step 800

    800

    #6223A5

    oklch(42.6% 0.192 300.1)

  10. Step 900

    900

    #502583

    oklch(37.8% 0.149 300.2)

  11. Step 950

    950

    #2E174D

    oklch(26.9% 0.095 299.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF7EFA 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)#5497FE0.123
Deuteranopia (no green cones)#6196F70.113
Tritanopia (no blue cones)#A095B00.139
Achromatopsia (no color)#9797970.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7EFA

    #AF7EFA

    oklch(69.4% 0.18 300)

  • #90AA00

    #90AA00

    oklch(69.3% 0.165 120)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7EFA

    #AF7EFA

    oklch(69.4% 0.18 300)

  • #7795FF

    #7795FF

    oklch(69.5% 0.159 270)

  • #D86ED1

    #D86ED1

    oklch(69.5% 0.179 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF7EFA

    #AF7EFA

    oklch(69.4% 0.18 300)

  • #BF9700

    #BF9700

    oklch(69.4% 0.142 89.7)

  • #26BA5C

    #26BA5C

    oklch(69.4% 0.179 150)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7EFA

    #AF7EFA

    oklch(69.4% 0.18 300)

  • #E48000

    #E48000

    oklch(69.5% 0.163 60.1)

  • #00B6A0

    #00B6A0

    oklch(69.6% 0.126 180)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7EFA

    #AF7EFA

    oklch(69.4% 0.18 300)

  • #F86955

    #F86955

    oklch(69.5% 0.179 30.3)

  • #90AA00

    #90AA00

    oklch(69.3% 0.165 120)

  • #00B0C6

    #00B0C6

    oklch(69.4% 0.12 210.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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