#AF4EFC

Closest named color: Lighter Purple (#A55AF4). oklch(63% 0.248 305.9), rgb(175, 78, 252).

Aa

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

About this color

#AF4EFC is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.248 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.028 away. Black text reads best on it, at 5.31:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.248)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.31:1
White text3.94:1

Values

HEX#AF4EFC
RGBrgb(175, 78, 252)
HSLhsl(273, 97%, 65%)
OKLCHoklch(63% 0.248 305.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 #AF4EFC 3.94:1 AA large text Lc -71.5 Content text, not long reading
Black text on #AF4EFC 5.31:1 AA Lc 38.1 Non-text elements, placeholder text
#AF4EFC text on white 3.94:1 AA large text Lc 66.0 Content text, not long reading
#AF4EFC text on black 5.31:1 AA Lc -35.6 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE4FD

    oklch(93.5% 0.035 305.5)

  3. Step 200

    200

    #E4CEFD

    oklch(88.4% 0.068 306.2)

  4. Step 300

    300

    #D4ACFF

    oklch(80.9% 0.121 305.9)

  5. Step 400

    400

    #BF7AFE

    oklch(70.6% 0.194 306.2)

  6. Step 500

    500 (this color)

    #AF4EFC

    oklch(63% 0.248 305.9)

  7. Step 600

    600

    #9B20EB

    oklch(55.5% 0.269 305.8)

  8. Step 700

    700

    #8507CD

    oklch(49.1% 0.251 305.9)

  9. Step 800

    800

    #6C13A5

    oklch(42.7% 0.207 306.1)

  10. Step 900

    900

    #571C83

    oklch(37.6% 0.162 305.9)

  11. Step 950

    950

    #33134D

    oklch(27% 0.103 305.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF4EFC 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)#007DFF0.196
Deuteranopia (no green cones)#0480F80.197
Tritanopia (no blue cones)#A176A00.176
Achromatopsia (no color)#8080800.249

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4EFC

    #AF4EFC

    oklch(63% 0.248 305.9)

  • #719900

    #719900

    oklch(63% 0.16 126)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4EFC

    #AF4EFC

    oklch(63% 0.248 305.9)

  • #6C76FF

    #6C76FF

    oklch(63% 0.201 275.9)

  • #DC31C0

    #DC31C0

    oklch(62.9% 0.247 335.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF4EFC

    #AF4EFC

    oklch(63% 0.248 305.9)

  • #A18800

    #A18800

    oklch(63.1% 0.13 96)

  • #00A360

    #00A360

    oklch(62.9% 0.153 156)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4EFC

    #AF4EFC

    oklch(63% 0.248 305.9)

  • #C17500

    #C17500

    oklch(63% 0.14 66.2)

  • #009E93

    #009E93

    oklch(62.9% 0.11 186.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4EFC

    #AF4EFC

    oklch(63% 0.248 305.9)

  • #EF4200

    #EF4200

    oklch(63% 0.217 35.8)

  • #719900

    #719900

    oklch(63% 0.16 126)

  • #0099B4

    #0099B4

    oklch(62.9% 0.112 216.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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