#CA7DBB

Closest named color: Pale Magenta (#D767AD). oklch(69.1% 0.124 334.3), rgb(202, 125, 187).

Aa

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

About this color

#CA7DBB is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.124 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.050 away. Black text reads best on it, at 7.16:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest namePale Magenta (#D767AD)
Black text7.16:1
White text2.93:1

Values

HEX#CA7DBB
RGBrgb(202, 125, 187)
HSLhsl(312, 42%, 64%)
OKLCHoklch(69.1% 0.124 334.3)

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 #CA7DBB 2.93:1 Fails Lc -60.9 Content text, not long reading
Black text on #CA7DBB 7.16:1 AAA Lc 48.5 Large or bold text, headings
#CA7DBB text on white 2.93:1 Fails Lc 55.6 Large or bold text, headings
#CA7DBB text on black 7.16:1 AAA Lc -46.2 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

    #F4E5F0

    oklch(93.7% 0.022 334.9)

  3. Step 200

    200

    #ECCFE5

    oklch(88.5% 0.043 334.3)

  4. Step 300

    300

    #E0AED5

    oklch(80.8% 0.077 334.2)

  5. Step 400

    400 (this color)

    #CA7DBB

    oklch(69.1% 0.124 334.3)

  6. Step 500

    500

    #C160B0

    oklch(63.1% 0.158 334.3)

  7. Step 600

    600

    #AC439C

    oklch(55.6% 0.173 334.1)

  8. Step 700

    700

    #943485

    oklch(49.2% 0.16 334.4)

  9. Step 800

    800

    #782C6C

    oklch(42.7% 0.133 334.3)

  10. Step 900

    900

    #612958

    oklch(37.8% 0.103 334)

  11. Step 950

    950

    #391933

    oklch(27% 0.064 334.7)

Export this scale for Tailwind in the Tailwind colors tool

#CA7DBB 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)#7D90BD0.122
Deuteranopia (no green cones)#909BB90.113
Tritanopia (no blue cones)#D181940.063
Achromatopsia (no color)#9797970.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7DBB

    #CA7DBB

    oklch(69.1% 0.124 334.3)

  • #55B278

    #55B278

    oklch(69.1% 0.124 154.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7DBB

    #CA7DBB

    oklch(69.1% 0.124 334.3)

  • #AD87DA

    #AD87DA

    oklch(69.1% 0.125 304.4)

  • #DB7992

    #DB7992

    oklch(69.1% 0.124 4.5)

Open the analogous palette in the generator

Split complementary

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

  • #CA7DBB

    #CA7DBB

    oklch(69.1% 0.124 334.3)

  • #8BA94D

    #8BA94D

    oklch(69.2% 0.124 124.6)

  • #00B4A4

    #00B4A4

    oklch(69.2% 0.123 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7DBB

    #CA7DBB

    oklch(69.1% 0.124 334.3)

  • #B59A31

    #B59A31

    oklch(69.2% 0.124 94.2)

  • #00AECA

    #00AECA

    oklch(69.1% 0.122 214.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7DBB

    #CA7DBB

    oklch(69.1% 0.124 334.3)

  • #D08A3F

    #D08A3F

    oklch(69.1% 0.124 64.8)

  • #55B278

    #55B278

    oklch(69.1% 0.124 154.1)

  • #50A3E3

    #50A3E3

    oklch(69.1% 0.124 244.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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