#AF7BFA

Closest named color: Light Urple (#B36FF6). oklch(69% 0.184 300.6), rgb(175, 123, 250).

Aa

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

About this color

#AF7BFA is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.184 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.026 away. Black text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.184)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text7.03:1
White text2.98:1

Values

HEX#AF7BFA
RGBrgb(175, 123, 250)
HSLhsl(265, 93%, 73%)
OKLCHoklch(69% 0.184 300.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 #AF7BFA 2.98:1 Fails Lc -61.5 Content text, not long reading
Black text on #AF7BFA 7.03:1 AAA Lc 47.8 Large or bold text, headings
#AF7BFA text on white 2.98:1 Fails Lc 56.2 Large or bold text, headings
#AF7BFA text on black 7.03:1 AAA Lc -45.6 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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EDE5FD

    oklch(93.5% 0.033 300.9)

  3. Step 200

    200

    #E0D0FE

    oklch(88.5% 0.065 301)

  4. Step 300

    300

    #CCB0FF

    oklch(80.9% 0.113 300.2)

  5. Step 400

    400 (this color)

    #AF7BFA

    oklch(69% 0.184 300.6)

  6. Step 500

    500

    #A358FE

    oklch(63% 0.235 300.5)

  7. Step 600

    600

    #9032ED

    oklch(55.6% 0.256 300.7)

  8. Step 700

    700

    #7B21CF

    oklch(49.2% 0.238 300.6)

  9. Step 800

    800

    #6320A7

    oklch(42.6% 0.197 300.3)

  10. Step 900

    900

    #512384

    oklch(37.7% 0.153 300.9)

  11. Step 950

    950

    #2F164D

    oklch(26.9% 0.097 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF7BFA 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)#4F95FE0.129
Deuteranopia (no green cones)#5D95F70.119
Tritanopia (no blue cones)#A093AF0.142
Achromatopsia (no color)#9595950.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7BFA

    #AF7BFA

    oklch(69% 0.184 300.6)

  • #8EA900

    #8EA900

    oklch(68.9% 0.164 120.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7BFA

    #AF7BFA

    oklch(69% 0.184 300.6)

  • #7692FF

    #7692FF

    oklch(68.9% 0.163 270.8)

  • #D96AD0

    #D96AD0

    oklch(69% 0.185 330.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF7BFA

    #AF7BFA

    oklch(69% 0.184 300.6)

  • #BC9600

    #BC9600

    oklch(68.9% 0.141 90.6)

  • #10B95A

    #10B95A

    oklch(68.8% 0.184 150.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7BFA

    #AF7BFA

    oklch(69% 0.184 300.6)

  • #E17F00

    #E17F00

    oklch(69% 0.161 60.5)

  • #00B49F

    #00B49F

    oklch(69% 0.125 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7BFA

    #AF7BFA

    oklch(69% 0.184 300.6)

  • #F86550

    #F86550

    oklch(68.9% 0.184 30.5)

  • #8EA900

    #8EA900

    oklch(68.9% 0.164 120.4)

  • #00AEC4

    #00AEC4

    oklch(68.8% 0.119 210.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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