#AF3FB8

Closest named color: Purply (#983FB2). oklch(57.1% 0.203 324.7), rgb(175, 63, 184).

Aa

White text reads best on this color (4.96:1).

About this color

#AF3FB8 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.203 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.045 away. White text reads best on it, at 4.96:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.203)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.22:1
White text4.96:1

Values

HEX#AF3FB8
RGBrgb(175, 63, 184)
HSLhsl(296, 49%, 48%)
OKLCHoklch(57.1% 0.203 324.7)

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 #AF3FB8 4.96:1 AA Lc -78.9 Fine for body text
Black text on #AF3FB8 4.22:1 AA large text Lc 30.6 Non-text elements, placeholder text
#AF3FB8 text on white 4.96:1 AA Lc 73.5 Content text, not long reading
#AF3FB8 text on black 4.22:1 AA large text Lc -28.2 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EBCEEC

    oklch(88.5% 0.051 325)

  4. Step 300

    300

    #DFADE2

    oklch(81% 0.091 324.5)

  5. Step 400

    400

    #CD7ED3

    oklch(70.6% 0.147 324.5)

  6. Step 500

    500

    #BF5AC7

    oklch(63.2% 0.186 324.6)

  7. Step 600

    600 (this color)

    #AF3FB8

    oklch(57.1% 0.203 324.7)

  8. Step 700

    700

    #922B9A

    oklch(49.1% 0.188 324.8)

  9. Step 800

    800

    #77267D

    oklch(42.8% 0.156 324.9)

  10. Step 900

    900

    #602565

    oklch(37.8% 0.122 324.5)

  11. Step 950

    950

    #38173B

    oklch(27% 0.076 324.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF3FB8 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)#2667BC0.208
Deuteranopia (no green cones)#5574B50.178
Tritanopia (no blue cones)#B352760.119
Achromatopsia (no color)#7070700.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3FB8

    #AF3FB8

    oklch(57.1% 0.203 324.7)

  • #009123

    #009123

    oklch(57.1% 0.181 144.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3FB8

    #AF3FB8

    oklch(57.1% 0.203 324.7)

  • #8354E0

    #8354E0

    oklch(57% 0.203 294.5)

  • #CB2D7E

    #CB2D7E

    oklch(57.1% 0.204 354.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF3FB8

    #AF3FB8

    oklch(57.1% 0.203 324.7)

  • #767F00

    #767F00

    oklch(56.9% 0.129 114.6)

  • #008C73

    #008C73

    oklch(57.1% 0.108 174.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3FB8

    #AF3FB8

    oklch(57.1% 0.203 324.7)

  • #977100

    #977100

    oklch(57.1% 0.117 85.1)

  • #008892

    #008892

    oklch(57.1% 0.097 203.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3FB8

    #AF3FB8

    oklch(57.1% 0.203 324.7)

  • #B55C00

    #B55C00

    oklch(57.1% 0.142 54.8)

  • #009123

    #009123

    oklch(57.1% 0.181 144.7)

  • #0081B4

    #0081B4

    oklch(57% 0.121 235.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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