#AF78CB

Closest named color: Wisteria (#A87DC2). oklch(66% 0.133 313.6), rgb(175, 120, 203).

Aa

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

About this color

#AF78CB is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.133 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.023 away. Black text reads best on it, at 6.37:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.37:1
White text3.29:1

Values

HEX#AF78CB
RGBrgb(175, 120, 203)
HSLhsl(280, 44%, 63%)
OKLCHoklch(66% 0.133 313.6)

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 #AF78CB 3.29:1 AA large text Lc -65.6 Content text, not long reading
Black text on #AF78CB 6.37:1 AA Lc 43.9 Non-text elements, placeholder text
#AF78CB text on white 3.29:1 AA large text Lc 60.2 Content text, not long reading
#AF78CB text on black 6.37:1 AA Lc -41.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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F3

    oklch(93.5% 0.019 312.8)

  3. Step 200

    200

    #E2D3EA

    oklch(88.6% 0.035 314.1)

  4. Step 300

    300

    #D0B5DF

    oklch(81% 0.065 313.5)

  5. Step 400

    400

    #B88DCE

    oklch(70.7% 0.104 313.9)

  6. Step 500

    500 (this color)

    #AF78CB

    oklch(66% 0.133 313.6)

  7. Step 600

    600

    #9156AE

    oklch(55.6% 0.144 313.5)

  8. Step 700

    700

    #7B4695

    oklch(49.1% 0.133 313.5)

  9. Step 800

    800

    #643A79

    oklch(42.7% 0.11 313.4)

  10. Step 900

    900

    #523262

    oklch(37.7% 0.087 313.6)

  11. Step 950

    950

    #301E39

    oklch(27.1% 0.054 313.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF78CB 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)#698ACE0.106
Deuteranopia (no green cones)#778FC90.097
Tritanopia (no blue cones)#AD84980.091
Achromatopsia (no color)#8E8E8E0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF78CB

    #AF78CB

    oklch(66% 0.133 313.6)

  • #70A34A

    #70A34A

    oklch(65.9% 0.132 133.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF78CB

    #AF78CB

    oklch(66% 0.133 313.6)

  • #8886E0

    #8886E0

    oklch(66% 0.132 283.2)

  • #C96FA7

    #C96FA7

    oklch(66% 0.132 343.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF78CB

    #AF78CB

    oklch(66% 0.133 313.6)

  • #A19519

    #A19519

    oklch(66% 0.133 103.4)

  • #23AB7B

    #23AB7B

    oklch(66% 0.133 163.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF78CB

    #AF78CB

    oklch(66% 0.133 313.6)

  • #C2841B

    #C2841B

    oklch(66% 0.133 73.8)

  • #00A7A6

    #00A7A6

    oklch(65.9% 0.113 194)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF78CB

    #AF78CB

    oklch(66% 0.133 313.6)

  • #D4744B

    #D4744B

    oklch(65.9% 0.133 43.1)

  • #70A34A

    #70A34A

    oklch(65.9% 0.132 133.6)

  • #00A1C9

    #00A1C9

    oklch(65.9% 0.123 223.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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