#C17AF1

Closest named color: Light Purple (#BF77F6). oklch(70.1% 0.18 310.1), rgb(193, 122, 241).

Aa

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

About this color

#C17AF1 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.180 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.012 away. Black text reads best on it, at 7.32:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.180)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.32:1
White text2.86:1

Values

HEX#C17AF1
RGBrgb(193, 122, 241)
HSLhsl(276, 81%, 71%)
OKLCHoklch(70.1% 0.18 310.1)

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 #C17AF1 2.86:1 Fails Lc -59.9 Large or bold text, headings
Black text on #C17AF1 7.32:1 AAA Lc 49.5 Large or bold text, headings
#C17AF1 text on white 2.86:1 Fails Lc 54.6 Large or bold text, headings
#C17AF1 text on black 7.32:1 AAA Lc -47.2 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FB

    oklch(93.6% 0.034 310.7)

  3. Step 200

    200

    #E6CEF9

    oklch(88.5% 0.063 310.1)

  4. Step 300

    300

    #D7ACF7

    oklch(80.9% 0.113 310.1)

  5. Step 400

    400 (this color)

    #C17AF1

    oklch(70.1% 0.18 310.1)

  6. Step 500

    500

    #B452EE

    oklch(63.1% 0.23 310.3)

  7. Step 600

    600

    #9F2BDC

    oklch(55.5% 0.249 310)

  8. Step 700

    700

    #8819BF

    oklch(49% 0.232 310)

  9. Step 800

    800

    #6F1B9B

    oklch(42.8% 0.192 310.1)

  10. Step 900

    900

    #5A207B

    oklch(37.8% 0.149 310.3)

  11. Step 950

    950

    #341448

    oklch(26.9% 0.095 309.8)

Export this scale for Tailwind in the Tailwind colors tool

#C17AF1 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)#5C95F50.145
Deuteranopia (no green cones)#709AEE0.132
Tritanopia (no blue cones)#BB8EAA0.128
Achromatopsia (no color)#9898980.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #C17AF1

    #C17AF1

    oklch(70.1% 0.18 310.1)

  • #78B41D

    #78B41D

    oklch(70.2% 0.181 130.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C17AF1

    #C17AF1

    oklch(70.1% 0.18 310.1)

  • #8D91FF

    #8D91FF

    oklch(70.2% 0.159 279.9)

  • #E56BC1

    #E56BC1

    oklch(70% 0.18 340.1)

Open the analogous palette in the generator

Split complementary

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

  • #C17AF1

    #C17AF1

    oklch(70.1% 0.18 310.1)

  • #B4A000

    #B4A000

    oklch(70.2% 0.146 100.4)

  • #00BC7C

    #00BC7C

    oklch(70.2% 0.159 160.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C17AF1

    #C17AF1

    oklch(70.1% 0.18 310.1)

  • #DA8B00

    #DA8B00

    oklch(70.2% 0.152 69.8)

  • #00B6B0

    #00B6B0

    oklch(70.1% 0.121 190.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C17AF1

    #C17AF1

    oklch(70.1% 0.18 310.1)

  • #F8703C

    #F8703C

    oklch(70.2% 0.179 40.3)

  • #78B41D

    #78B41D

    oklch(70.2% 0.181 130.2)

  • #00B0D5

    #00B0D5

    oklch(70% 0.128 220)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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