#AF4FC5

Closest named color: Medium Orchid (#BA55D3). oklch(59.6% 0.193 319.8), rgb(175, 79, 197).

Aa

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

About this color

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

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

Values

HEX#AF4FC5
RGBrgb(175, 79, 197)
HSLhsl(289, 50%, 54%)
OKLCHoklch(59.6% 0.193 319.8)

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 #AF4FC5 4.42:1 AA large text Lc -75.5 Fine for body text
Black text on #AF4FC5 4.74:1 AA Lc 34.0 Non-text elements, placeholder text
#AF4FC5 text on white 4.42:1 AA large text Lc 70.1 Content text, not long reading
#AF4FC5 text on black 4.74:1 AA Lc -31.6 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

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CFEF

    oklch(88.6% 0.051 319.9)

  4. Step 300

    300

    #DCADE7

    oklch(80.9% 0.095 319.8)

  5. Step 400

    400

    #C97FDB

    oklch(70.7% 0.151 319.6)

  6. Step 500

    500 (this color)

    #AF4FC5

    oklch(59.6% 0.193 319.8)

  7. Step 600

    600

    #A63ABD

    oklch(55.6% 0.21 320.1)

  8. Step 700

    700

    #8E2BA3

    oklch(49.1% 0.194 320)

  9. Step 800

    800

    #732684

    oklch(42.7% 0.16 319.8)

  10. Step 900

    900

    #5D256A

    oklch(37.6% 0.125 319.6)

  11. Step 950

    950

    #37173E

    oklch(27% 0.079 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF4FC5 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)#3371C90.186
Deuteranopia (no green cones)#587BC20.161
Tritanopia (no blue cones)#B062830.120
Achromatopsia (no color)#7878780.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4FC5

    #AF4FC5

    oklch(59.6% 0.193 319.8)

  • #2F9800

    #2F9800

    oklch(59.6% 0.191 139.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4FC5

    #AF4FC5

    oklch(59.6% 0.193 319.8)

  • #8163E8

    #8163E8

    oklch(59.7% 0.193 289.7)

  • #CD408F

    #CD408F

    oklch(59.7% 0.192 350)

Open the analogous palette in the generator

Split complementary

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

  • #AF4FC5

    #AF4FC5

    oklch(59.6% 0.193 319.8)

  • #858500

    #858500

    oklch(59.7% 0.13 109.8)

  • #009574

    #009574

    oklch(59.6% 0.118 170)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4FC5

    #AF4FC5

    oklch(59.6% 0.193 319.8)

  • #A57500

    #A57500

    oklch(59.6% 0.123 79.9)

  • #009197

    #009197

    oklch(59.7% 0.101 200)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4FC5

    #AF4FC5

    oklch(59.6% 0.193 319.8)

  • #C65C00

    #C65C00

    oklch(59.6% 0.158 50)

  • #2F9800

    #2F9800

    oklch(59.6% 0.191 139.8)

  • #008BB8

    #008BB8

    oklch(59.6% 0.119 230.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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