#AF7FE2

Closest named color: Light Purple (#BF77F6). oklch(68.3% 0.149 305.2), rgb(175, 127, 226).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.149)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.95:1
White text3.01:1

Values

HEX#AF7FE2
RGBrgb(175, 127, 226)
HSLhsl(269, 63%, 69%)
OKLCHoklch(68.3% 0.149 305.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 #AF7FE2 3.01:1 AA large text Lc -62.1 Content text, not long reading
Black text on #AF7FE2 6.95:1 AA Lc 47.3 Large or bold text, headings
#AF7FE2 text on white 3.01:1 AA large text Lc 56.8 Large or bold text, headings
#AF7FE2 text on black 6.95:1 AA Lc -45.0 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E1D1F5

    oklch(88.5% 0.052 305.4)

  4. Step 300

    300

    #CFB2F1

    oklch(81% 0.092 305.4)

  5. Step 400

    400 (this color)

    #AF7FE2

    oklch(68.3% 0.149 305.2)

  6. Step 500

    500

    #A564E3

    oklch(63.1% 0.189 305.2)

  7. Step 600

    600

    #9146D1

    oklch(55.6% 0.207 305.4)

  8. Step 700

    700

    #7B36B5

    oklch(49% 0.192 305.2)

  9. Step 800

    800

    #642E93

    oklch(42.7% 0.16 305)

  10. Step 900

    900

    #512B75

    oklch(37.7% 0.124 304.8)

  11. Step 950

    950

    #301A44

    oklch(27% 0.078 306)

Export this scale for Tailwind in the Tailwind colors tool

#AF7FE2 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)#6693E60.106
Deuteranopia (no green cones)#7295DF0.098
Tritanopia (no blue cones)#A78FA60.110
Achromatopsia (no color)#9494940.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7FE2

    #AF7FE2

    oklch(68.3% 0.149 305.2)

  • #84A833

    #84A833

    oklch(68.2% 0.148 125.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7FE2

    #AF7FE2

    oklch(68.3% 0.149 305.2)

  • #808FF4

    #808FF4

    oklch(68.3% 0.149 275.4)

  • #D073BD

    #D073BD

    oklch(68.3% 0.148 335.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF7FE2

    #AF7FE2

    oklch(68.3% 0.149 305.2)

  • #B49700

    #B49700

    oklch(68.2% 0.14 95.2)

  • #35B370

    #35B370

    oklch(68.2% 0.148 155.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7FE2

    #AF7FE2

    oklch(68.3% 0.149 305.2)

  • #D68313

    #D68313

    oklch(68.3% 0.148 65.4)

  • #00B1A3

    #00B1A3

    oklch(68.4% 0.121 184.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7FE2

    #AF7FE2

    oklch(68.3% 0.149 305.2)

  • #E57356

    #E57356

    oklch(68.2% 0.148 35.4)

  • #84A833

    #84A833

    oklch(68.2% 0.148 125.1)

  • #00ABC8

    #00ABC8

    oklch(68.3% 0.121 215.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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