#AF30BE

Closest named color: Purply (#983FB2). oklch(56% 0.225 323.3), rgb(175, 48, 190).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.225)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.98:1
White text5.26:1

Values

HEX#AF30BE
RGBrgb(175, 48, 190)
HSLhsl(294, 60%, 47%)
OKLCHoklch(56% 0.225 323.3)

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 #AF30BE 5.26:1 AA Lc -80.3 Fine for body text
Black text on #AF30BE 3.98:1 AA large text Lc 29.1 Dividers and decoration only
#AF30BE text on white 5.26:1 AA Lc 74.9 Content text, not long reading
#AF30BE text on black 3.98:1 AA large text Lc -26.8 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #ECCDEF

    oklch(88.5% 0.057 323.3)

  4. Step 300

    300

    #E1ABE7

    oklch(81% 0.101 323.1)

  5. Step 400

    400

    #D07ADA

    oklch(70.6% 0.163 323.2)

  6. Step 500

    500

    #C252D0

    oklch(63.1% 0.208 323.1)

  7. Step 600

    600 (this color)

    #AF30BE

    oklch(56% 0.225 323.3)

  8. Step 700

    700

    #951EA3

    oklch(49.2% 0.21 323.2)

  9. Step 800

    800

    #791D84

    oklch(42.7% 0.174 323.2)

  10. Step 900

    900

    #62206A

    oklch(37.8% 0.136 323.2)

  11. Step 950

    950

    #39143E

    oklch(26.9% 0.086 322.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF30BE 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)#0062C20.232
Deuteranopia (no green cones)#4871BB0.200
Tritanopia (no blue cones)#B24B750.134
Achromatopsia (no color)#6C6C6C0.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF30BE

    #AF30BE

    oklch(56% 0.225 323.3)

  • #008E11

    #008E11

    oklch(56.1% 0.186 143.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF30BE

    #AF30BE

    oklch(56% 0.225 323.3)

  • #804AE9

    #804AE9

    oklch(56.1% 0.226 293.3)

  • #CD0F7F

    #CD0F7F

    oklch(56% 0.225 353.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF30BE

    #AF30BE

    oklch(56% 0.225 323.3)

  • #757C00

    #757C00

    oklch(56.1% 0.126 113.7)

  • #00896F

    #00896F

    oklch(56.2% 0.108 173.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF30BE

    #AF30BE

    oklch(56% 0.225 323.3)

  • #956D00

    #956D00

    oklch(56% 0.115 83.1)

  • #00848E

    #00848E

    oklch(55.9% 0.095 204.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF30BE

    #AF30BE

    oklch(56% 0.225 323.3)

  • #B25800

    #B25800

    oklch(56% 0.141 53.4)

  • #008E11

    #008E11

    oklch(56.1% 0.186 143.3)

  • #007FAD

    #007FAD

    oklch(56.1% 0.116 232.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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