#AF46BC

Closest named color: Medium Orchid (#BA55D3). oklch(58% 0.197 323.1), rgb(175, 70, 188).

Aa

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

About this color

#AF46BC is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.197 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.047 away. White text reads best on it, at 4.74:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.197)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.42:1
White text4.74:1

Values

HEX#AF46BC
RGBrgb(175, 70, 188)
HSLhsl(293, 47%, 51%)
OKLCHoklch(58% 0.197 323.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 #AF46BC 4.74:1 AA Lc -77.6 Fine for body text
Black text on #AF46BC 4.42:1 AA large text Lc 31.9 Non-text elements, placeholder text
#AF46BC text on white 4.74:1 AA Lc 72.2 Content text, not long reading
#AF46BC text on black 4.42:1 AA large text Lc -29.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

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EACFEC

    oklch(88.6% 0.049 323.8)

  4. Step 300

    300

    #DDAEE2

    oklch(81% 0.088 323.2)

  5. Step 400

    400

    #CB80D3

    oklch(70.7% 0.142 323.5)

  6. Step 500

    500

    #BC5CC8

    oklch(63.1% 0.183 323.1)

  7. Step 600

    600 (this color)

    #AF46BC

    oklch(58% 0.197 323.1)

  8. Step 700

    700

    #8F2F9B

    oklch(49.2% 0.183 323.1)

  9. Step 800

    800

    #74287E

    oklch(42.7% 0.153 322.9)

  10. Step 900

    900

    #5E2765

    oklch(37.7% 0.118 323)

  11. Step 950

    950

    #37183B

    oklch(27% 0.074 322.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF46BC 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)#2D6BC00.198
Deuteranopia (no green cones)#5777B90.170
Tritanopia (no blue cones)#B2587B0.117
Achromatopsia (no color)#7373730.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF46BC

    #AF46BC

    oklch(58% 0.197 323.1)

  • #009510

    #009510

    oklch(58.1% 0.194 143.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF46BC

    #AF46BC

    oklch(58% 0.197 323.1)

  • #835AE2

    #835AE2

    oklch(58.1% 0.197 293.1)

  • #CB3684

    #CB3684

    oklch(58% 0.197 353.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF46BC

    #AF46BC

    oklch(58% 0.197 323.1)

  • #7B8200

    #7B8200

    oklch(58.1% 0.13 113.5)

  • #008F74

    #008F74

    oklch(58% 0.111 173.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF46BC

    #AF46BC

    oklch(58% 0.197 323.1)

  • #9C7300

    #9C7300

    oklch(58.1% 0.119 83.6)

  • #008B94

    #008B94

    oklch(58% 0.099 202.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF46BC

    #AF46BC

    oklch(58% 0.197 323.1)

  • #BB5C00

    #BB5C00

    oklch(58% 0.147 52.9)

  • #009510

    #009510

    oklch(58.1% 0.194 143.1)

  • #0085B6

    #0085B6

    oklch(58.1% 0.121 233.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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