#C17AFA

Closest named color: Light Purple (#BF77F6). oklch(70.6% 0.19 307.9), rgb(193, 122, 250).

Aa

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

About this color

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

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

Values

HEX#C17AFA
RGBrgb(193, 122, 250)
HSLhsl(273, 93%, 73%)
OKLCHoklch(70.6% 0.19 307.9)

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 #C17AFA 2.82:1 Fails Lc -59.2 Large or bold text, headings
Black text on #C17AFA 7.43:1 AAA Lc 50.1 Large or bold text, headings
#C17AFA text on white 2.82:1 Fails Lc 53.9 Large or bold text, headings
#C17AFA text on black 7.43:1 AAA Lc -47.9 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FC

    oklch(93.5% 0.034 308.1)

  3. Step 200

    200

    #E5CEFC

    oklch(88.5% 0.067 307.6)

  4. Step 300

    300

    #D6ACFC

    oklch(81% 0.118 307.9)

  5. Step 400

    400 (this color)

    #C17AFA

    oklch(70.6% 0.19 307.9)

  6. Step 500

    500

    #B24FF7

    oklch(63.1% 0.242 307.9)

  7. Step 600

    600

    #9E22E6

    oklch(55.6% 0.264 307.8)

  8. Step 700

    700

    #870BC8

    oklch(49.1% 0.246 307.7)

  9. Step 800

    800

    #6E14A2

    oklch(42.8% 0.204 307.8)

  10. Step 900

    900

    #591D80

    oklch(37.7% 0.158 308)

  11. Step 950

    950

    #34134B

    oklch(27% 0.101 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#C17AFA 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)#5597FE0.151
Deuteranopia (no green cones)#6A9BF70.137
Tritanopia (no blue cones)#B990AF0.136
Achromatopsia (no color)#9A9A9A0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #C17AFA

    #C17AFA

    oklch(70.6% 0.19 307.9)

  • #7FB400

    #7FB400

    oklch(70.6% 0.184 127.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C17AFA

    #C17AFA

    oklch(70.6% 0.19 307.9)

  • #8B94FF

    #8B94FF

    oklch(70.6% 0.155 278)

  • #E86AC9

    #E86AC9

    oklch(70.6% 0.19 337.9)

Open the analogous palette in the generator

Split complementary

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

  • #C17AFA

    #C17AFA

    oklch(70.6% 0.19 307.9)

  • #B9A000

    #B9A000

    oklch(70.6% 0.146 97.9)

  • #00BE77

    #00BE77

    oklch(70.6% 0.165 157.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C17AFA

    #C17AFA

    oklch(70.6% 0.19 307.9)

  • #DE8B00

    #DE8B00

    oklch(70.7% 0.155 68.3)

  • #00B8AE

    #00B8AE

    oklch(70.5% 0.123 187.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C17AFA

    #C17AFA

    oklch(70.6% 0.19 307.9)

  • #FF6C3C

    #FF6C3C

    oklch(70.6% 0.19 38)

  • #7FB400

    #7FB400

    oklch(70.6% 0.184 127.8)

  • #00B3D4

    #00B3D4

    oklch(70.7% 0.127 217.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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