#AF4EBD

Closest named color: Medium Orchid (#BA55D3). oklch(59.1% 0.187 322.4), rgb(175, 78, 189).

Aa

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

About this color

#AF4EBD is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.187 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.040 away. Black text reads best on it, at 4.64:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.187)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.64:1
White text4.51:1

Values

HEX#AF4EBD
RGBrgb(175, 78, 189)
HSLhsl(292, 46%, 52%)
OKLCHoklch(59.1% 0.187 322.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 #AF4EBD 4.51:1 AA Lc -76.2 Fine for body text
Black text on #AF4EBD 4.64:1 AA Lc 33.3 Non-text elements, placeholder text
#AF4EBD text on white 4.51:1 AA Lc 70.8 Content text, not long reading
#AF4EBD text on black 4.64:1 AA Lc -30.9 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 600.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F4

    oklch(93.7% 0.024 321.7)

  3. Step 200

    200

    #E8CFEC

    oklch(88.4% 0.048 321.6)

  4. Step 300

    300

    #DBAFE1

    oklch(80.9% 0.084 322.3)

  5. Step 400

    400

    #C883D2

    oklch(70.8% 0.134 322.3)

  6. Step 500

    500

    #B960C5

    oklch(63.1% 0.172 322.7)

  7. Step 600

    600 (this color)

    #AF4EBD

    oklch(59.1% 0.187 322.4)

  8. Step 700

    700

    #8C3499

    oklch(49.1% 0.173 322.3)

  9. Step 800

    800

    #722C7C

    oklch(42.7% 0.144 322.5)

  10. Step 900

    900

    #5C2964

    oklch(37.7% 0.112 322)

  11. Step 950

    950

    #36193A

    oklch(27% 0.07 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF4EBD 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)#396FC00.183
Deuteranopia (no green cones)#5C7ABA0.159
Tritanopia (no blue cones)#B15E7E0.113
Achromatopsia (no color)#7676760.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4EBD

    #AF4EBD

    oklch(59.1% 0.187 322.4)

  • #1F971B

    #1F971B

    oklch(59% 0.187 142.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4EBD

    #AF4EBD

    oklch(59.1% 0.187 322.4)

  • #8460E0

    #8460E0

    oklch(59% 0.187 292.7)

  • #CB4088

    #CB4088

    oklch(59.1% 0.187 352.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF4EBD

    #AF4EBD

    oklch(59.1% 0.187 322.4)

  • #7F8400

    #7F8400

    oklch(58.9% 0.131 112.4)

  • #009376

    #009376

    oklch(59.1% 0.114 172.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4EBD

    #AF4EBD

    oklch(59.1% 0.187 322.4)

  • #A17500

    #A17500

    oklch(59.1% 0.122 82.2)

  • #008F97

    #008F97

    oklch(59.2% 0.101 201.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4EBD

    #AF4EBD

    oklch(59.1% 0.187 322.4)

  • #C05E00

    #C05E00

    oklch(59% 0.151 52.6)

  • #1F971B

    #1F971B

    oklch(59% 0.187 142.5)

  • #0088B9

    #0088B9

    oklch(58.9% 0.122 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 #AF4EBD, closest first.

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

Similar named colors

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

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