#AF9BF2

Closest named color: Baby Purple (#CA9BF7). oklch(74% 0.125 293.7), rgb(175, 155, 242).

Aa

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

About this color

#AF9BF2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.125 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.042 away. Black text reads best on it, at 8.79:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text8.79:1
White text2.38:1

Values

HEX#AF9BF2
RGBrgb(175, 155, 242)
HSLhsl(254, 77%, 78%)
OKLCHoklch(74% 0.125 293.7)

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 #AF9BF2 2.38:1 Fails Lc -51.9 Large or bold text, headings
Black text on #AF9BF2 8.79:1 AAA Lc 57.0 Large or bold text, headings
#AF9BF2 text on white 2.38:1 Fails Lc 47.0 Large or bold text, headings
#AF9BF2 text on black 8.79:1 AAA Lc -55.1 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE7F8

    oklch(93.5% 0.023 294.1)

  3. Step 200

    200

    #DAD4F4

    oklch(88.5% 0.044 294.1)

  4. Step 300

    300

    #C3B8EF

    oklch(81% 0.077 293.8)

  5. Step 400

    400 (this color)

    #AF9BF2

    oklch(74% 0.125 293.7)

  6. Step 500

    500

    #9073DF

    oklch(63.2% 0.158 293.7)

  7. Step 600

    600

    #7B58CD

    oklch(55.5% 0.174 293.8)

  8. Step 700

    700

    #6848B1

    oklch(49.2% 0.16 293.7)

  9. Step 800

    800

    #553B90

    oklch(42.7% 0.135 294.1)

  10. Step 900

    900

    #453473

    oklch(37.7% 0.104 293.2)

  11. Step 950

    950

    #281F43

    oklch(27% 0.065 293)

Export this scale for Tailwind in the Tailwind colors tool

#AF9BF2 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)#83A9F50.064
Deuteranopia (no green cones)#86A6F00.059
Tritanopia (no blue cones)#A1AABB0.103
Achromatopsia (no color)#A8A8A80.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9BF2

    #AF9BF2

    oklch(74% 0.125 293.7)

  • #ABB350

    #ABB350

    oklch(74% 0.124 113.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9BF2

    #AF9BF2

    oklch(74% 0.125 293.7)

  • #82A9FA

    #82A9FA

    oklch(74% 0.126 264)

  • #D18FD8

    #D18FD8

    oklch(74% 0.125 323.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF9BF2

    #AF9BF2

    oklch(74% 0.125 293.7)

  • #D0A342

    #D0A342

    oklch(73.9% 0.125 83.6)

  • #78BF77

    #78BF77

    oklch(74% 0.124 143.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9BF2

    #AF9BF2

    oklch(74% 0.125 293.7)

  • #E8945B

    #E8945B

    oklch(74.1% 0.125 53.7)

  • #3CC4A4

    #3CC4A4

    oklch(74% 0.125 173.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9BF2

    #AF9BF2

    oklch(74% 0.125 293.7)

  • #EF8A85

    #EF8A85

    oklch(74% 0.124 23.5)

  • #ABB350

    #ABB350

    oklch(74% 0.124 113.2)

  • #0EC1CF

    #0EC1CF

    oklch(74% 0.125 204.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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