#AF7FF4

Closest named color: Light Purple (#BF77F6). oklch(69.3% 0.171 301), rgb(175, 127, 244).

Aa

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

About this color

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

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

Values

HEX#AF7FF4
RGBrgb(175, 127, 244)
HSLhsl(265, 84%, 73%)
OKLCHoklch(69.3% 0.171 301)

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 #AF7FF4 2.93:1 Fails Lc -60.8 Content text, not long reading
Black text on #AF7FF4 7.16:1 AAA Lc 48.5 Large or bold text, headings
#AF7FF4 text on white 2.93:1 Fails Lc 55.5 Large or bold text, headings
#AF7FF4 text on black 7.16:1 AAA Lc -46.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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FC

    oklch(93.7% 0.03 300.3)

  3. Step 200

    200

    #DFD1FB

    oklch(88.5% 0.059 300.4)

  4. Step 300

    300

    #CCB1FB

    oklch(81% 0.106 300.8)

  5. Step 400

    400 (this color)

    #AF7FF4

    oklch(69.3% 0.171 301)

  6. Step 500

    500

    #A25EF6

    oklch(63.1% 0.219 300.9)

  7. Step 600

    600

    #8E3CE4

    oklch(55.5% 0.237 301)

  8. Step 700

    700

    #792CC6

    oklch(49.1% 0.22 301)

  9. Step 800

    800

    #6227A0

    oklch(42.6% 0.182 301)

  10. Step 900

    900

    #50277F

    oklch(37.7% 0.142 301.2)

  11. Step 950

    950

    #2F184B

    oklch(27.1% 0.091 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF7FF4 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)#5A96F80.118
Deuteranopia (no green cones)#6696F10.108
Tritanopia (no blue cones)#A294AE0.131
Achromatopsia (no color)#9797970.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7FF4

    #AF7FF4

    oklch(69.3% 0.171 301)

  • #8EAA00

    #8EAA00

    oklch(69.2% 0.166 120.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7FF4

    #AF7FF4

    oklch(69.3% 0.171 301)

  • #7893FF

    #7893FF

    oklch(69.2% 0.161 271.1)

  • #D670CC

    #D670CC

    oklch(69.3% 0.17 331)

Open the analogous palette in the generator

Split complementary

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

  • #AF7FF4

    #AF7FF4

    oklch(69.3% 0.171 301)

  • #BD9700

    #BD9700

    oklch(69.2% 0.141 90.7)

  • #2DB962

    #2DB962

    oklch(69.4% 0.171 151)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7FF4

    #AF7FF4

    oklch(69.3% 0.171 301)

  • #E28000

    #E28000

    oklch(69.3% 0.161 60.7)

  • #00B5A0

    #00B5A0

    oklch(69.3% 0.125 180.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7FF4

    #AF7FF4

    oklch(69.3% 0.171 301)

  • #F36C57

    #F36C57

    oklch(69.2% 0.171 30.8)

  • #8EAA00

    #8EAA00

    oklch(69.2% 0.166 120.7)

  • #00AFC6

    #00AFC6

    oklch(69.2% 0.12 211.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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