#CA7DB7

Closest named color: Pale Magenta (#D767AD). oklch(68.9% 0.121 336.5), rgb(202, 125, 183).

Aa

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

About this color

#CA7DB7 is a medium-light, moderately saturated pink. In OKLCH its lightness is 69%, its chroma 0.121 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.049 away. Black text reads best on it, at 7.12:1.

Hue familyPinks
Lightnessmedium-light (69%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text7.12:1
White text2.94:1

Values

HEX#CA7DB7
RGBrgb(202, 125, 183)
HSLhsl(315, 42%, 64%)
OKLCHoklch(68.9% 0.121 336.5)

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 #CA7DB7 2.94:1 Fails Lc -61.1 Content text, not long reading
Black text on #CA7DB7 7.12:1 AAA Lc 48.3 Large or bold text, headings
#CA7DB7 text on white 2.94:1 Fails Lc 55.7 Large or bold text, headings
#CA7DB7 text on black 7.12:1 AAA Lc -46.0 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #ECCFE4

    oklch(88.5% 0.043 335.7)

  4. Step 300

    300

    #E1AED3

    oklch(80.8% 0.077 336.4)

  5. Step 400

    400 (this color)

    #CA7DB7

    oklch(68.9% 0.121 336.5)

  6. Step 500

    500

    #C260AC

    oklch(63.1% 0.155 336.5)

  7. Step 600

    600

    #AD4497

    oklch(55.6% 0.168 336.6)

  8. Step 700

    700

    #943581

    oklch(49.1% 0.156 336.4)

  9. Step 800

    800

    #782D69

    oklch(42.7% 0.129 336.2)

  10. Step 900

    900

    #612955

    oklch(37.6% 0.101 336.3)

  11. Step 950

    950

    #391932

    oklch(27% 0.063 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#CA7DB7 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)#7E8FB90.121
Deuteranopia (no green cones)#929BB50.111
Tritanopia (no blue cones)#D280920.059
Achromatopsia (no color)#9696960.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7DB7

    #CA7DB7

    oklch(68.9% 0.121 336.5)

  • #52B17C

    #52B17C

    oklch(68.9% 0.12 156.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7DB7

    #CA7DB7

    oklch(68.9% 0.121 336.5)

  • #AE87D6

    #AE87D6

    oklch(69% 0.12 306.2)

  • #D97A8F

    #D97A8F

    oklch(68.9% 0.12 6.5)

Open the analogous palette in the generator

Split complementary

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

  • #CA7DB7

    #CA7DB7

    oklch(68.9% 0.121 336.5)

  • #88A952

    #88A952

    oklch(69.1% 0.121 126.5)

  • #00B3A7

    #00B3A7

    oklch(69% 0.121 186.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7DB7

    #CA7DB7

    oklch(68.9% 0.121 336.5)

  • #B19B36

    #B19B36

    oklch(69% 0.121 96.7)

  • #0FADCB

    #0FADCB

    oklch(69% 0.121 216.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7DB7

    #CA7DB7

    oklch(68.9% 0.121 336.5)

  • #CD8B40

    #CD8B40

    oklch(68.9% 0.121 66.7)

  • #52B17C

    #52B17C

    oklch(68.9% 0.12 156.7)

  • #57A1E1

    #57A1E1

    oklch(68.8% 0.12 246.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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