#AF3FD4

Closest named color: Medium Orchid (#BA55D3). oklch(58.8% 0.228 316.4), rgb(175, 63, 212).

Aa

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

About this color

#AF3FD4 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.228 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.047 away. White text reads best on it, at 4.68:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.228)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.48:1
White text4.68:1

Values

HEX#AF3FD4
RGBrgb(175, 63, 212)
HSLhsl(285, 63%, 54%)
OKLCHoklch(58.8% 0.228 316.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 #AF3FD4 4.68:1 AA Lc -77.0 Fine for body text
Black text on #AF3FD4 4.48:1 AA large text Lc 32.5 Non-text elements, placeholder text
#AF3FD4 text on white 4.68:1 AA Lc 71.6 Content text, not long reading
#AF3FD4 text on black 4.48:1 AA large text Lc -30.1 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E8CEF3

    oklch(88.4% 0.057 315.9)

  4. Step 300

    300

    #DBACED

    oklch(80.8% 0.103 316.5)

  5. Step 400

    400

    #C87DE4

    oklch(70.7% 0.164 316.3)

  6. Step 500

    500

    #B956DC

    oklch(63.1% 0.209 316.2)

  7. Step 600

    600 (this color)

    #AF3FD4

    oklch(58.8% 0.228 316.4)

  8. Step 700

    700

    #8D23AE

    oklch(49.1% 0.212 316.4)

  9. Step 800

    800

    #73218D

    oklch(42.8% 0.175 316.5)

  10. Step 900

    900

    #5D2271

    oklch(37.7% 0.137 316.4)

  11. Step 950

    950

    #361642

    oklch(27% 0.085 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF3FD4 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)#006DD80.215
Deuteranopia (no green cones)#3F77D10.193
Tritanopia (no blue cones)#AD5D860.145
Achromatopsia (no color)#7474740.229

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3FD4

    #AF3FD4

    oklch(58.8% 0.228 316.4)

  • #449200

    #449200

    oklch(58.7% 0.176 136.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3FD4

    #AF3FD4

    oklch(58.8% 0.228 316.4)

  • #7959FA

    #7959FA

    oklch(58.8% 0.228 286.2)

  • #D22597

    #D22597

    oklch(58.7% 0.227 346.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF3FD4

    #AF3FD4

    oklch(58.8% 0.228 316.4)

  • #868000

    #868000

    oklch(58.6% 0.125 106.4)

  • #00936C

    #00936C

    oklch(58.8% 0.122 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3FD4

    #AF3FD4

    oklch(58.8% 0.228 316.4)

  • #A57100

    #A57100

    oklch(58.8% 0.123 76.8)

  • #008E90

    #008E90

    oklch(58.6% 0.1 196.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3FD4

    #AF3FD4

    oklch(58.8% 0.228 316.4)

  • #C75500

    #C75500

    oklch(58.7% 0.164 46.5)

  • #449200

    #449200

    oklch(58.7% 0.176 136.4)

  • #0089B0

    #0089B0

    oklch(58.7% 0.113 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 #AF3FD4, closest first.

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

Similar named colors

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

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