#C127AC

Closest named color: Purpley Pink (#C83CB9). oklch(57.1% 0.229 334.7), rgb(193, 39, 172).

Aa

White text reads best on this color (5.05:1).

About this color

#C127AC is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.229 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.035 away. White text reads best on it, at 5.05:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.229)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.15:1
White text5.05:1

Values

HEX#C127AC
RGBrgb(193, 39, 172)
HSLhsl(308, 66%, 45%)
OKLCHoklch(57.1% 0.229 334.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 #C127AC 5.05:1 AA Lc -78.8 Fine for body text
Black text on #C127AC 4.15:1 AA large text Lc 30.7 Non-text elements, placeholder text
#C127AC text on white 5.05:1 AA Lc 73.4 Content text, not long reading
#C127AC text on black 4.15:1 AA large text Lc -28.3 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F2CCE9

    oklch(88.6% 0.057 334.4)

  4. Step 300

    300

    #EAA7DB

    oklch(80.8% 0.103 334.8)

  5. Step 400

    400

    #DD75C9

    oklch(70.7% 0.164 334.8)

  6. Step 500

    500

    #D14ABB

    oklch(63.2% 0.21 334.9)

  7. Step 600

    600 (this color)

    #C127AC

    oklch(57.1% 0.229 334.7)

  8. Step 700

    700

    #A20C8F

    oklch(49.2% 0.213 335)

  9. Step 800

    800

    #831274

    oklch(42.6% 0.176 334.7)

  10. Step 900

    900

    #6A1A5E

    oklch(37.7% 0.138 334.7)

  11. Step 950

    950

    #3E1237

    oklch(27% 0.086 334.5)

Export this scale for Tailwind in the Tailwind colors tool

#C127AC 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)#2460AF0.254
Deuteranopia (no green cones)#6176A90.212
Tritanopia (no blue cones)#CB37690.116
Achromatopsia (no color)#6F6F6F0.231

Harmonies

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

Complementary

The opposite hue (180°).

  • #C127AC

    #C127AC

    oklch(57.1% 0.229 334.7)

  • #008F50

    #008F50

    oklch(57.1% 0.142 154.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C127AC

    #C127AC

    oklch(57.1% 0.229 334.7)

  • #9842E1

    #9842E1

    oklch(57.1% 0.23 304.8)

  • #D90266

    #D90266

    oklch(57% 0.228 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #C127AC

    #C127AC

    oklch(57.1% 0.229 334.7)

  • #658500

    #658500

    oklch(57.1% 0.143 124.7)

  • #008A7F

    #008A7F

    oklch(57% 0.1 185.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C127AC

    #C127AC

    oklch(57.1% 0.229 334.7)

  • #8E7600

    #8E7600

    oklch(57.2% 0.117 94.7)

  • #00869C

    #00869C

    oklch(57% 0.101 214.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C127AC

    #C127AC

    oklch(57.1% 0.229 334.7)

  • #AA6500

    #AA6500

    oklch(57.1% 0.128 65.1)

  • #008F50

    #008F50

    oklch(57.1% 0.142 154.7)

  • #007DC5

    #007DC5

    oklch(57% 0.143 244.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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