#AF77EF

Closest named color: Light Urple (#B36FF6). oklch(67.7% 0.177 303.6), rgb(175, 119, 239).

Aa

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

About this color

#AF77EF is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.177 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.022 away. Black text reads best on it, at 6.70:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.177)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.70:1
White text3.13:1

Values

HEX#AF77EF
RGBrgb(175, 119, 239)
HSLhsl(268, 79%, 70%)
OKLCHoklch(67.7% 0.177 303.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 #AF77EF 3.13:1 AA large text Lc -63.5 Content text, not long reading
Black text on #AF77EF 6.70:1 AA Lc 46.0 Large or bold text, headings
#AF77EF text on white 3.13:1 AA large text Lc 58.1 Large or bold text, headings
#AF77EF text on black 6.70:1 AA Lc -43.7 Non-text elements, placeholder text

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

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E1D0FB

    oklch(88.5% 0.061 303.1)

  4. Step 300

    300

    #D0AFFB

    oklch(80.9% 0.11 303.9)

  5. Step 400

    400 (this color)

    #AF77EF

    oklch(67.7% 0.177 303.6)

  6. Step 500

    500

    #A859F6

    oklch(63.1% 0.226 303.7)

  7. Step 600

    600

    #9435E5

    oklch(55.6% 0.246 303.6)

  8. Step 700

    700

    #7E24C7

    oklch(49.1% 0.229 303.5)

  9. Step 800

    800

    #6622A1

    oklch(42.7% 0.189 303.3)

  10. Step 900

    900

    #532480

    oklch(37.8% 0.148 303.3)

  11. Step 950

    950

    #31174B

    oklch(27.2% 0.093 303.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF77EF 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)#5190F30.130
Deuteranopia (no green cones)#6191EC0.119
Tritanopia (no blue cones)#A48DA80.133
Achromatopsia (no color)#9292920.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF77EF

    #AF77EF

    oklch(67.7% 0.177 303.6)

  • #83A700

    #83A700

    oklch(67.7% 0.167 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF77EF

    #AF77EF

    oklch(67.7% 0.177 303.6)

  • #778CFF

    #778CFF

    oklch(67.8% 0.17 273.2)

  • #D667C4

    #D667C4

    oklch(67.7% 0.178 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF77EF

    #AF77EF

    oklch(67.7% 0.177 303.6)

  • #B49400

    #B49400

    oklch(67.6% 0.139 93.4)

  • #00B562

    #00B562

    oklch(67.8% 0.173 153.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF77EF

    #AF77EF

    oklch(67.7% 0.177 303.6)

  • #D87F00

    #D87F00

    oklch(67.8% 0.154 63.5)

  • #00AF9F

    #00AF9F

    oklch(67.7% 0.12 183.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF77EF

    #AF77EF

    oklch(67.7% 0.177 303.6)

  • #F06648

    #F06648

    oklch(67.8% 0.177 33.8)

  • #83A700

    #83A700

    oklch(67.7% 0.167 123.6)

  • #00AAC3

    #00AAC3

    oklch(67.8% 0.119 213)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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