#AF64EC

Closest named color: Light Urple (#B36FF6). oklch(64.7% 0.202 307.1), rgb(175, 100, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.202)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text5.85:1
White text3.58:1

Values

HEX#AF64EC
RGBrgb(175, 100, 236)
HSLhsl(273, 78%, 66%)
OKLCHoklch(64.7% 0.202 307.1)

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 #AF64EC 3.58:1 AA large text Lc -68.5 Content text, not long reading
Black text on #AF64EC 5.85:1 AA Lc 41.1 Non-text elements, placeholder text
#AF64EC text on white 3.58:1 AA large text Lc 63.0 Content text, not long reading
#AF64EC text on black 5.85:1 AA Lc -38.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 500.

  1. Step 50

    50

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E3D0F6

    oklch(88.5% 0.055 307.8)

  4. Step 300

    300

    #D1B0F3

    oklch(80.9% 0.099 306.8)

  5. Step 400

    400

    #BB83ED

    oklch(70.7% 0.159 307.2)

  6. Step 500

    500 (this color)

    #AF64EC

    oklch(64.7% 0.202 307.1)

  7. Step 600

    600

    #963FD4

    oklch(55.6% 0.22 307.3)

  8. Step 700

    700

    #802FB8

    oklch(49.1% 0.205 307.3)

  9. Step 800

    800

    #682995

    oklch(42.7% 0.17 307.3)

  10. Step 900

    900

    #542877

    oklch(37.7% 0.132 306.8)

  11. Step 950

    950

    #311846

    oklch(26.9% 0.085 306.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF64EC 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)#2E84F00.168
Deuteranopia (no green cones)#4E88E90.150
Tritanopia (no blue cones)#A57E9F0.145
Achromatopsia (no color)#8787870.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF64EC

    #AF64EC

    oklch(64.7% 0.202 307.1)

  • #72A000

    #72A000

    oklch(64.8% 0.168 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF64EC

    #AF64EC

    oklch(64.7% 0.202 307.1)

  • #757CFF

    #757CFF

    oklch(64.6% 0.191 277.3)

  • #D652BA

    #D652BA

    oklch(64.7% 0.202 336.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF64EC

    #AF64EC

    oklch(64.7% 0.202 307.1)

  • #A58D00

    #A58D00

    oklch(64.6% 0.133 97)

  • #00A967

    #00A967

    oklch(64.7% 0.154 157.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF64EC

    #AF64EC

    oklch(64.7% 0.202 307.1)

  • #C77A00

    #C77A00

    oklch(64.7% 0.143 67)

  • #00A49A

    #00A49A

    oklch(64.7% 0.113 187.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF64EC

    #AF64EC

    oklch(64.7% 0.202 307.1)

  • #EF521D

    #EF521D

    oklch(64.8% 0.202 37.1)

  • #72A000

    #72A000

    oklch(64.8% 0.168 127.3)

  • #009FBC

    #009FBC

    oklch(64.8% 0.116 216.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF64EC.

Similar named colors

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

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