#AF5BCC

Closest named color: Medium Orchid (#BA55D3). oklch(61.6% 0.182 316.7), rgb(175, 91, 204).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.182)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.19:1
White text4.04:1

Values

HEX#AF5BCC
RGBrgb(175, 91, 204)
HSLhsl(285, 53%, 58%)
OKLCHoklch(61.6% 0.182 316.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 #AF5BCC 4.04:1 AA large text Lc -72.7 Content text, not long reading
Black text on #AF5BCC 5.19:1 AA Lc 36.8 Non-text elements, placeholder text
#AF5BCC text on white 4.04:1 AA large text Lc 67.2 Content text, not long reading
#AF5BCC text on black 5.19:1 AA Lc -34.4 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

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E7D0EF

    oklch(88.6% 0.049 317.4)

  4. Step 300

    300

    #D8AFE7

    oklch(80.9% 0.089 316.9)

  5. Step 400

    400

    #C483DB

    oklch(70.8% 0.142 316.9)

  6. Step 500

    500 (this color)

    #AF5BCC

    oklch(61.6% 0.182 316.7)

  7. Step 600

    600

    #9F42BE

    oklch(55.6% 0.197 316.6)

  8. Step 700

    700

    #8832A4

    oklch(49.1% 0.184 316.6)

  9. Step 800

    800

    #6F2B85

    oklch(42.7% 0.153 316.9)

  10. Step 900

    900

    #5A296A

    oklch(37.8% 0.117 317.1)

  11. Step 950

    950

    #35193E

    oklch(27.1% 0.074 317.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF5BCC 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)#4079D00.166
Deuteranopia (no green cones)#5D81C90.147
Tritanopia (no blue cones)#AE6D8B0.118
Achromatopsia (no color)#7E7E7E0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5BCC

    #AF5BCC

    oklch(61.6% 0.182 316.7)

  • #499C0C

    #499C0C

    oklch(61.6% 0.182 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5BCC

    #AF5BCC

    oklch(61.6% 0.182 316.7)

  • #806EEB

    #806EEB

    oklch(61.7% 0.182 286.4)

  • #CE4D9A

    #CE4D9A

    oklch(61.6% 0.182 346.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF5BCC

    #AF5BCC

    oklch(61.6% 0.182 316.7)

  • #8F8900

    #8F8900

    oklch(61.5% 0.132 106.6)

  • #009C74

    #009C74

    oklch(61.5% 0.126 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5BCC

    #AF5BCC

    oklch(61.6% 0.182 316.7)

  • #B07900

    #B07900

    oklch(61.7% 0.129 77)

  • #00989A

    #00989A

    oklch(61.6% 0.105 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5BCC

    #AF5BCC

    oklch(61.6% 0.182 316.7)

  • #D45B00

    #D45B00

    oklch(61.6% 0.172 46.4)

  • #499C0C

    #499C0C

    oklch(61.6% 0.182 136.7)

  • #0092BC

    #0092BC

    oklch(61.6% 0.119 227.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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