#C102AB

Closest named color: Purpley Pink (#C83CB9). oklch(55.7% 0.247 334.8), rgb(193, 2, 171).

Aa

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

About this color

#C102AB is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.247 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.055 away. White text reads best on it, at 5.43:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.247)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text3.86:1
White text5.43:1

Values

HEX#C102AB
RGBrgb(193, 2, 171)
HSLhsl(307, 98%, 38%)
OKLCHoklch(55.7% 0.247 334.8)

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 #C102AB 5.43:1 AA Lc -80.0 Fine for body text
Black text on #C102AB 3.86:1 AA large text Lc 29.4 Dividers and decoration only
#C102AB text on white 5.43:1 AA Lc 74.6 Content text, not long reading
#C102AB text on black 3.86:1 AA large text Lc -27.1 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

    #F8E2F3

    oklch(93.5% 0.033 333.6)

  3. Step 200

    200

    #F4CAEA

    oklch(88.5% 0.063 334.5)

  4. Step 300

    300

    #EDA5DD

    oklch(80.8% 0.111 334.8)

  5. Step 400

    400

    #E170CC

    oklch(70.6% 0.178 334.8)

  6. Step 500

    500

    #D640BF

    oklch(63.1% 0.228 334.8)

  7. Step 600

    600 (this color)

    #C102AB

    oklch(55.7% 0.247 334.8)

  8. Step 700

    700

    #A30090

    oklch(49.1% 0.218 334.9)

  9. Step 800

    800

    #870077

    oklch(42.7% 0.19 334.9)

  10. Step 900

    900

    #6D1460

    oklch(37.8% 0.148 335)

  11. Step 950

    950

    #400F38

    oklch(27% 0.093 335.1)

Export this scale for Tailwind in the Tailwind colors tool

#C102AB 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)#005AAF0.280
Deuteranopia (no green cones)#5B72A70.231
Tritanopia (no blue cones)#CB25640.124
Achromatopsia (no color)#6A6A6A0.249

Harmonies

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

Complementary

The opposite hue (180°).

  • #C102AB

    #C102AB

    oklch(55.7% 0.247 334.8)

  • #008A4D

    #008A4D

    oklch(55.6% 0.138 154.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C102AB

    #C102AB

    oklch(55.7% 0.247 334.8)

  • #9633E4

    #9633E4

    oklch(55.6% 0.247 304.6)

  • #D20062

    #D20062

    oklch(55.6% 0.223 4.8)

Open the analogous palette in the generator

Split complementary

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

  • #C102AB

    #C102AB

    oklch(55.7% 0.247 334.8)

  • #618000

    #618000

    oklch(55.5% 0.139 124.8)

  • #00867B

    #00867B

    oklch(55.7% 0.098 184.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C102AB

    #C102AB

    oklch(55.7% 0.247 334.8)

  • #897200

    #897200

    oklch(55.8% 0.114 94.9)

  • #008197

    #008197

    oklch(55.5% 0.098 215.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C102AB

    #C102AB

    oklch(55.7% 0.247 334.8)

  • #A46100

    #A46100

    oklch(55.6% 0.125 64.9)

  • #008A4D

    #008A4D

    oklch(55.6% 0.138 154.7)

  • #0079BF

    #0079BF

    oklch(55.7% 0.14 245)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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