#AF7FE3

Closest named color: Light Purple (#BF77F6). oklch(68.4% 0.15 304.9), rgb(175, 127, 227).

Aa

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

About this color

#AF7FE3 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.150 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.043 away. Black text reads best on it, at 6.96:1.

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

Values

HEX#AF7FE3
RGBrgb(175, 127, 227)
HSLhsl(269, 64%, 69%)
OKLCHoklch(68.4% 0.15 304.9)

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 #AF7FE3 3.01:1 AA large text Lc -62.0 Content text, not long reading
Black text on #AF7FE3 6.96:1 AA Lc 47.4 Large or bold text, headings
#AF7FE3 text on white 3.01:1 AA large text Lc 56.7 Large or bold text, headings
#AF7FE3 text on black 6.96:1 AA Lc -45.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

    #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

    #CEB2F2

    oklch(81% 0.093 304.4)

  5. Step 400

    400 (this color)

    #AF7FE3

    oklch(68.4% 0.15 304.9)

  6. Step 500

    500

    #A564E4

    oklch(63.1% 0.191 305)

  7. Step 600

    600

    #9046D2

    oklch(55.6% 0.207 304.7)

  8. Step 700

    700

    #7B36B6

    oklch(49.1% 0.193 304.9)

  9. Step 800

    800

    #642E93

    oklch(42.7% 0.16 305)

  10. Step 900

    900

    #512B76

    oklch(37.7% 0.125 304.4)

  11. Step 950

    950

    #301A45

    oklch(27.1% 0.079 305.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF7FE3 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)#6593E70.107
Deuteranopia (no green cones)#7195E00.099
Tritanopia (no blue cones)#A790A60.113
Achromatopsia (no color)#9595950.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7FE3

    #AF7FE3

    oklch(68.4% 0.15 304.9)

  • #85A931

    #85A931

    oklch(68.5% 0.15 124.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7FE3

    #AF7FE3

    oklch(68.4% 0.15 304.9)

  • #7F8FF5

    #7F8FF5

    oklch(68.3% 0.151 275)

  • #D173BE

    #D173BE

    oklch(68.5% 0.15 335.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF7FE3

    #AF7FE3

    oklch(68.4% 0.15 304.9)

  • #B59700

    #B59700

    oklch(68.3% 0.14 94.7)

  • #34B46F

    #34B46F

    oklch(68.4% 0.15 154.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7FE3

    #AF7FE3

    oklch(68.4% 0.15 304.9)

  • #D78310

    #D78310

    oklch(68.4% 0.15 65.3)

  • #00B1A3

    #00B1A3

    oklch(68.4% 0.121 184.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7FE3

    #AF7FE3

    oklch(68.4% 0.15 304.9)

  • #E67356

    #E67356

    oklch(68.4% 0.149 35.3)

  • #85A931

    #85A931

    oklch(68.5% 0.15 124.9)

  • #00ACC8

    #00ACC8

    oklch(68.5% 0.121 214.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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