#AF3CB4

Closest named color: Purply (#983FB2). oklch(56.5% 0.204 326.1), rgb(175, 60, 180).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.204)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.12:1
White text5.08:1

Values

HEX#AF3CB4
RGBrgb(175, 60, 180)
HSLhsl(298, 50%, 47%)
OKLCHoklch(56.5% 0.204 326.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 #AF3CB4 5.08:1 AA Lc -79.6 Fine for body text
Black text on #AF3CB4 4.12:1 AA large text Lc 29.9 Dividers and decoration only
#AF3CB4 text on white 5.08:1 AA Lc 74.2 Content text, not long reading
#AF3CB4 text on black 4.12:1 AA large text Lc -27.5 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

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #ECCEEB

    oklch(88.5% 0.051 327)

  4. Step 300

    300

    #E0ACE0

    oklch(80.8% 0.092 326.4)

  5. Step 400

    400

    #CF7ED1

    oklch(70.7% 0.146 326.1)

  6. Step 500

    500

    #C159C5

    oklch(63.2% 0.187 326.1)

  7. Step 600

    600 (this color)

    #AF3CB4

    oklch(56.5% 0.204 326.1)

  8. Step 700

    700

    #932998

    oklch(49% 0.189 326)

  9. Step 800

    800

    #78257B

    oklch(42.7% 0.156 326.4)

  10. Step 900

    900

    #612463

    oklch(37.7% 0.122 326.4)

  11. Step 950

    950

    #39163A

    oklch(26.9% 0.078 326.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF3CB4 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)#2665B70.211
Deuteranopia (no green cones)#5673B10.180
Tritanopia (no blue cones)#B34E730.117
Achromatopsia (no color)#6E6E6E0.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3CB4

    #AF3CB4

    oklch(56.5% 0.204 326.1)

  • #008F2D

    #008F2D

    oklch(56.6% 0.172 146.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3CB4

    #AF3CB4

    oklch(56.5% 0.204 326.1)

  • #8451DD

    #8451DD

    oklch(56.5% 0.203 296)

  • #CA2A7A

    #CA2A7A

    oklch(56.5% 0.204 355.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF3CB4

    #AF3CB4

    oklch(56.5% 0.204 326.1)

  • #737E00

    #737E00

    oklch(56.4% 0.129 115.7)

  • #008A74

    #008A74

    oklch(56.6% 0.106 176.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3CB4

    #AF3CB4

    oklch(56.5% 0.204 326.1)

  • #947000

    #947000

    oklch(56.5% 0.116 86.2)

  • #008692

    #008692

    oklch(56.6% 0.097 205.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3CB4

    #AF3CB4

    oklch(56.5% 0.204 326.1)

  • #B15C00

    #B15C00

    oklch(56.5% 0.138 56.1)

  • #008F2D

    #008F2D

    oklch(56.6% 0.172 146.1)

  • #007FB3

    #007FB3

    oklch(56.4% 0.122 236.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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