#CA64B7

Closest named color: Pale Magenta (#D767AD). oklch(65.2% 0.164 334.8), rgb(202, 100, 183).

Aa

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

About this color

#CA64B7 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.164 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.031 away. Black text reads best on it, at 6.01:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.164)
Temperaturein between
Nearest namePale Magenta (#D767AD)
Black text6.01:1
White text3.48:1

Values

HEX#CA64B7
RGBrgb(202, 100, 183)
HSLhsl(311, 49%, 59%)
OKLCHoklch(65.2% 0.164 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 #CA64B7 3.48:1 AA large text Lc -67.5 Content text, not long reading
Black text on #CA64B7 6.01:1 AA Lc 42.1 Non-text elements, placeholder text
#CA64B7 text on white 3.48:1 AA large text Lc 62.0 Content text, not long reading
#CA64B7 text on black 6.01:1 AA Lc -39.7 Non-text elements, placeholder text

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

  1. Step 50

    50

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4F0

    oklch(93.5% 0.023 334.3)

  3. Step 200

    200

    #EDCFE5

    oklch(88.6% 0.044 335.4)

  4. Step 300

    300

    #E2AED5

    oklch(81% 0.079 335.4)

  5. Step 400

    400

    #D181C0

    oklch(70.7% 0.127 335)

  6. Step 500

    500 (this color)

    #CA64B7

    oklch(65.2% 0.164 334.8)

  7. Step 600

    600

    #AE409C

    oklch(55.5% 0.178 334.7)

  8. Step 700

    700

    #953185

    oklch(49% 0.165 334.8)

  9. Step 800

    800

    #792A6C

    oklch(42.6% 0.137 334.8)

  10. Step 900

    900

    #622858

    oklch(37.8% 0.106 334.6)

  11. Step 950

    950

    #3A1833

    oklch(27% 0.067 335.7)

Export this scale for Tailwind in the Tailwind colors tool

#CA64B7 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)#6480BA0.167
Deuteranopia (no green cones)#818FB40.150
Tritanopia (no blue cones)#D269850.082
Achromatopsia (no color)#8989890.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA64B7

    #CA64B7

    oklch(65.2% 0.164 334.8)

  • #00AB61

    #00AB61

    oklch(65.1% 0.162 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA64B7

    #CA64B7

    oklch(65.2% 0.164 334.8)

  • #A772DF

    #A772DF

    oklch(65.2% 0.164 304.7)

  • #DE5E83

    #DE5E83

    oklch(65.2% 0.163 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #CA64B7

    #CA64B7

    oklch(65.2% 0.164 334.8)

  • #7A9F00

    #7A9F00

    oklch(65.1% 0.163 124.5)

  • #00A699

    #00A699

    oklch(65.2% 0.115 185.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA64B7

    #CA64B7

    oklch(65.2% 0.164 334.8)

  • #AA8E00

    #AA8E00

    oklch(65.3% 0.134 94.9)

  • #00A1BB

    #00A1BB

    oklch(65.2% 0.115 214.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA64B7

    #CA64B7

    oklch(65.2% 0.164 334.8)

  • #CB7900

    #CB7900

    oklch(65.1% 0.146 64.7)

  • #00AB61

    #00AB61

    oklch(65.1% 0.162 154.8)

  • #0097EB

    #0097EB

    oklch(65.3% 0.163 244.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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