#AF459E

Closest named color: Purply (#983FB2). oklch(56.4% 0.173 334.4), rgb(175, 69, 158).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.173)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.16:1
White text5.03:1

Values

HEX#AF459E
RGBrgb(175, 69, 158)
HSLhsl(310, 43%, 48%)
OKLCHoklch(56.4% 0.173 334.4)

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 #AF459E 5.03:1 AA Lc -79.5 Fine for body text
Black text on #AF459E 4.16:1 AA large text Lc 30.0 Dividers and decoration only
#AF459E text on white 5.03:1 AA Lc 74.1 Content text, not long reading
#AF459E text on black 4.16:1 AA large text Lc -27.6 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5F0

    oklch(93.7% 0.022 334.9)

  3. Step 200

    200

    #ECCFE5

    oklch(88.5% 0.043 334.3)

  4. Step 300

    300

    #E1AED5

    oklch(80.9% 0.078 334.8)

  5. Step 400

    400

    #D082C0

    oklch(70.8% 0.124 334.6)

  6. Step 500

    500

    #C15FB0

    oklch(63% 0.16 334.3)

  7. Step 600

    600 (this color)

    #AF459E

    oklch(56.4% 0.173 334.4)

  8. Step 700

    700

    #943385

    oklch(49.1% 0.162 334.4)

  9. Step 800

    800

    #782C6C

    oklch(42.7% 0.133 334.3)

  10. Step 900

    900

    #612958

    oklch(37.8% 0.103 334)

  11. Step 950

    950

    #391833

    oklch(26.9% 0.066 334.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF459E 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)#4465A10.182
Deuteranopia (no green cones)#65759B0.160
Tritanopia (no blue cones)#B74C6B0.088
Achromatopsia (no color)#6F6F6F0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF459E

    #AF459E

    oklch(56.4% 0.173 334.4)

  • #008D4E

    #008D4E

    oklch(56.5% 0.141 154.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF459E

    #AF459E

    oklch(56.4% 0.173 334.4)

  • #8D54C6

    #8D54C6

    oklch(56.3% 0.174 304.5)

  • #C33C69

    #C33C69

    oklch(56.4% 0.174 4.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF459E

    #AF459E

    oklch(56.4% 0.173 334.4)

  • #648200

    #648200

    oklch(56.3% 0.14 124.2)

  • #00887C

    #00887C

    oklch(56.3% 0.1 184.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF459E

    #AF459E

    oklch(56.4% 0.173 334.4)

  • #8C7300

    #8C7300

    oklch(56.3% 0.115 93.7)

  • #008499

    #008499

    oklch(56.4% 0.099 214)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF459E

    #AF459E

    oklch(56.4% 0.173 334.4)

  • #A86300

    #A86300

    oklch(56.5% 0.127 64.6)

  • #008D4E

    #008D4E

    oklch(56.5% 0.141 154.4)

  • #007BC1

    #007BC1

    oklch(56.3% 0.14 244.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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