#AF4CCF

Closest named color: Medium Orchid (#BA55D3). oklch(59.9% 0.206 317), rgb(175, 76, 207).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.206)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.75:1
White text4.41:1

Values

HEX#AF4CCF
RGBrgb(175, 76, 207)
HSLhsl(285, 58%, 55%)
OKLCHoklch(59.9% 0.206 317)

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 #AF4CCF 4.41:1 AA large text Lc -75.4 Fine for body text
Black text on #AF4CCF 4.75:1 AA Lc 34.2 Non-text elements, placeholder text
#AF4CCF text on white 4.41:1 AA large text Lc 69.9 Content text, not long reading
#AF4CCF text on black 4.75:1 AA Lc -31.8 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E9CEF2

    oklch(88.5% 0.057 317.7)

  4. Step 300

    300

    #DBACEC

    oklch(80.8% 0.101 316.9)

  5. Step 400

    400

    #C87DE2

    oklch(70.6% 0.162 317)

  6. Step 500

    500 (this color)

    #AF4CCF

    oklch(59.9% 0.206 317)

  7. Step 600

    600

    #A534C7

    oklch(55.5% 0.225 317.1)

  8. Step 700

    700

    #8D24AC

    oklch(49% 0.209 316.9)

  9. Step 800

    800

    #73228B

    oklch(42.7% 0.172 317.2)

  10. Step 900

    900

    #5D2370

    oklch(37.8% 0.135 316.7)

  11. Step 950

    950

    #371641

    oklch(27.1% 0.085 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF4CCF 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)#1F72D30.198
Deuteranopia (no green cones)#4F7BCC0.171
Tritanopia (no blue cones)#AE63870.132
Achromatopsia (no color)#7878780.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4CCF

    #AF4CCF

    oklch(59.9% 0.206 317)

  • #439700

    #439700

    oklch(60% 0.182 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4CCF

    #AF4CCF

    oklch(59.9% 0.206 317)

  • #7D62F2

    #7D62F2

    oklch(59.9% 0.207 287)

  • #D03A97

    #D03A97

    oklch(59.9% 0.206 347.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF4CCF

    #AF4CCF

    oklch(59.9% 0.206 317)

  • #898400

    #898400

    oklch(59.8% 0.128 107)

  • #009670

    #009670

    oklch(59.7% 0.122 167.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4CCF

    #AF4CCF

    oklch(59.9% 0.206 317)

  • #A97400

    #A97400

    oklch(59.8% 0.125 77)

  • #009295

    #009295

    oklch(59.9% 0.102 197.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4CCF

    #AF4CCF

    oklch(59.9% 0.206 317)

  • #CB5800

    #CB5800

    oklch(59.8% 0.165 47)

  • #439700

    #439700

    oklch(60% 0.182 137)

  • #008DB5

    #008DB5

    oklch(60% 0.115 226.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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