#C128B1

Closest named color: Purpley Pink (#C83CB9). oklch(57.4% 0.231 333), rgb(193, 40, 177).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.231)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.20:1
White text4.99:1

Values

HEX#C128B1
RGBrgb(193, 40, 177)
HSLhsl(306, 66%, 46%)
OKLCHoklch(57.4% 0.231 333)

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 #C128B1 4.99:1 AA Lc -78.5 Fine for body text
Black text on #C128B1 4.20:1 AA large text Lc 31.1 Non-text elements, placeholder text
#C128B1 text on white 4.99:1 AA Lc 73.0 Content text, not long reading
#C128B1 text on black 4.20:1 AA large text Lc -28.7 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

    #F7E3F3

    oklch(93.6% 0.03 332.5)

  3. Step 200

    200

    #F1CCEA

    oklch(88.6% 0.057 332.5)

  4. Step 300

    300

    #E9A7DE

    oklch(80.8% 0.105 332.5)

  5. Step 400

    400

    #DC75CC

    oklch(70.7% 0.166 333.2)

  6. Step 500

    500

    #D049BF

    oklch(63.1% 0.214 333.2)

  7. Step 600

    600 (this color)

    #C128B1

    oklch(57.4% 0.231 333)

  8. Step 700

    700

    #A10A93

    oklch(49.2% 0.216 333.2)

  9. Step 800

    800

    #821277

    oklch(42.6% 0.178 333)

  10. Step 900

    900

    #691A60

    oklch(37.6% 0.139 333)

  11. Step 950

    950

    #3E1138

    oklch(26.9% 0.088 333.4)

Export this scale for Tailwind in the Tailwind colors tool

#C128B1 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)#1F62B50.255
Deuteranopia (no green cones)#5F77AE0.214
Tritanopia (no blue cones)#CA3A6C0.120
Achromatopsia (no color)#6F6F6F0.234

Harmonies

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

Complementary

The opposite hue (180°).

  • #C128B1

    #C128B1

    oklch(57.4% 0.231 333)

  • #00904C

    #00904C

    oklch(57.3% 0.147 153.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C128B1

    #C128B1

    oklch(57.4% 0.231 333)

  • #9644E5

    #9644E5

    oklch(57.4% 0.231 303)

  • #DB006B

    #DB006B

    oklch(57.5% 0.232 3.2)

Open the analogous palette in the generator

Split complementary

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

  • #C128B1

    #C128B1

    oklch(57.4% 0.231 333)

  • #698500

    #698500

    oklch(57.4% 0.141 123.1)

  • #008C7E

    #008C7E

    oklch(57.5% 0.103 182.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C128B1

    #C128B1

    oklch(57.4% 0.231 333)

  • #907600

    #907600

    oklch(57.4% 0.118 93.5)

  • #00879C

    #00879C

    oklch(57.3% 0.101 213.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C128B1

    #C128B1

    oklch(57.4% 0.231 333)

  • #AD6400

    #AD6400

    oklch(57.3% 0.131 63.1)

  • #00904C

    #00904C

    oklch(57.3% 0.147 153.1)

  • #007FC3

    #007FC3

    oklch(57.3% 0.139 243.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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