#C17FEA

Closest named color: Light Purple (#BF77F6). oklch(70.5% 0.164 311.3), rgb(193, 127, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.164)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.49:1
White text2.80:1

Values

HEX#C17FEA
RGBrgb(193, 127, 234)
HSLhsl(277, 72%, 71%)
OKLCHoklch(70.5% 0.164 311.3)

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 #C17FEA 2.80:1 Fails Lc -59.0 Large or bold text, headings
Black text on #C17FEA 7.49:1 AAA Lc 50.3 Large or bold text, headings
#C17FEA text on white 2.80:1 Fails Lc 53.7 Large or bold text, headings
#C17FEA text on black 7.49:1 AAA Lc -48.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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F9

    oklch(93.6% 0.029 310.1)

  3. Step 200

    200

    #E5CFF5

    oklch(88.4% 0.056 311)

  4. Step 300

    300

    #D6AEF1

    oklch(80.9% 0.102 311.3)

  5. Step 400

    400 (this color)

    #C17FEA

    oklch(70.5% 0.164 311.3)

  6. Step 500

    500

    #B259E4

    oklch(63.1% 0.21 311.3)

  7. Step 600

    600

    #9D38D2

    oklch(55.6% 0.228 311)

  8. Step 700

    700

    #8727B6

    oklch(49.1% 0.213 311.4)

  9. Step 800

    800

    #6D2493

    oklch(42.7% 0.175 311.1)

  10. Step 900

    900

    #592475

    oklch(37.7% 0.137 311.7)

  11. Step 950

    950

    #341745

    oklch(27.1% 0.086 311)

Export this scale for Tailwind in the Tailwind colors tool

#C17FEA 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)#6797EE0.132
Deuteranopia (no green cones)#799CE70.120
Tritanopia (no blue cones)#BD90A90.116
Achromatopsia (no color)#9A9A9A0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #C17FEA

    #C17FEA

    oklch(70.5% 0.164 311.3)

  • #7AB439

    #7AB439

    oklch(70.5% 0.164 131.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C17FEA

    #C17FEA

    oklch(70.5% 0.164 311.3)

  • #9191FF

    #9191FF

    oklch(70.5% 0.158 281.6)

  • #E272BE

    #E272BE

    oklch(70.5% 0.165 341)

Open the analogous palette in the generator

Split complementary

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

  • #C17FEA

    #C17FEA

    oklch(70.5% 0.164 311.3)

  • #B4A200

    #B4A200

    oklch(70.6% 0.147 101.4)

  • #00BD80

    #00BD80

    oklch(70.5% 0.156 161.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C17FEA

    #C17FEA

    oklch(70.5% 0.164 311.3)

  • #DA8D00

    #DA8D00

    oklch(70.5% 0.152 71)

  • #00B8B2

    #00B8B2

    oklch(70.6% 0.122 190.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C17FEA

    #C17FEA

    oklch(70.5% 0.164 311.3)

  • #F27747

    #F27747

    oklch(70.4% 0.164 41.1)

  • #7AB439

    #7AB439

    oklch(70.5% 0.164 131.3)

  • #00B1D9

    #00B1D9

    oklch(70.5% 0.13 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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