#AF5FCE

Closest named color: Medium Orchid (#BA55D3). oklch(62.3% 0.177 315.7), rgb(175, 95, 206).

Aa

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

About this color

#AF5FCE is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.177 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.028 away. Black text reads best on it, at 5.35:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.177)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.35:1
White text3.92:1

Values

HEX#AF5FCE
RGBrgb(175, 95, 206)
HSLhsl(283, 53%, 59%)
OKLCHoklch(62.3% 0.177 315.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 #AF5FCE 3.92:1 AA large text Lc -71.7 Content text, not long reading
Black text on #AF5FCE 5.35:1 AA Lc 37.8 Non-text elements, placeholder text
#AF5FCE text on white 3.92:1 AA large text Lc 66.2 Content text, not long reading
#AF5FCE text on black 5.35:1 AA Lc -35.4 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 500.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D7B0E7

    oklch(81% 0.087 316)

  5. Step 400

    400

    #C284DB

    oklch(70.7% 0.139 315.8)

  6. Step 500

    500 (this color)

    #AF5FCE

    oklch(62.3% 0.177 315.7)

  7. Step 600

    600

    #9D44BE

    oklch(55.6% 0.194 315.6)

  8. Step 700

    700

    #8635A4

    oklch(49.1% 0.18 315.5)

  9. Step 800

    800

    #6D2D85

    oklch(42.7% 0.149 315.5)

  10. Step 900

    900

    #582A6A

    oklch(37.7% 0.115 315.5)

  11. Step 950

    950

    #34193E

    oklch(27% 0.074 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF5FCE 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)#457CD20.159
Deuteranopia (no green cones)#5F83CB0.141
Tritanopia (no blue cones)#AD718E0.117
Achromatopsia (no color)#8080800.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5FCE

    #AF5FCE

    oklch(62.3% 0.177 315.7)

  • #509D13

    #509D13

    oklch(62.2% 0.178 135.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5FCE

    #AF5FCE

    oklch(62.3% 0.177 315.7)

  • #8071EB

    #8071EB

    oklch(62.2% 0.177 285.6)

  • #CE529E

    #CE529E

    oklch(62.3% 0.177 345.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF5FCE

    #AF5FCE

    oklch(62.3% 0.177 315.7)

  • #928B00

    #928B00

    oklch(62.3% 0.133 106.1)

  • #009F74

    #009F74

    oklch(62.3% 0.13 165.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5FCE

    #AF5FCE

    oklch(62.3% 0.177 315.7)

  • #B47A00

    #B47A00

    oklch(62.4% 0.131 75.7)

  • #009A9B

    #009A9B

    oklch(62.2% 0.106 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5FCE

    #AF5FCE

    oklch(62.3% 0.177 315.7)

  • #D85B00

    #D85B00

    oklch(62.2% 0.176 45.7)

  • #509D13

    #509D13

    oklch(62.2% 0.178 135.8)

  • #0095BD

    #0095BD

    oklch(62.3% 0.119 225.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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