#CF42CD

Closest named color: Pinky Purple (#C94CBE). oklch(63% 0.232 328.5), rgb(207, 66, 205).

Aa

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

About this color

#CF42CD is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.232 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.030 away. Black text reads best on it, at 5.31:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.232)
Temperaturein between
Nearest namePinky Purple (#C94CBE)
Black text5.31:1
White text3.95:1

Values

HEX#CF42CD
RGBrgb(207, 66, 205)
HSLhsl(301, 59%, 54%)
OKLCHoklch(63% 0.232 328.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 #CF42CD 3.95:1 AA large text Lc -71.3 Content text, not long reading
Black text on #CF42CD 5.31:1 AA Lc 38.3 Non-text elements, placeholder text
#CF42CD text on white 3.95:1 AA large text Lc 65.8 Content text, not long reading
#CF42CD text on black 5.31:1 AA Lc -35.9 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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F7E3F5

    oklch(93.7% 0.032 329)

  3. Step 200

    200

    #F1CBEE

    oklch(88.5% 0.063 328.6)

  4. Step 300

    300

    #E9A6E5

    oklch(80.9% 0.113 328.6)

  5. Step 400

    400

    #DC71D8

    oklch(70.7% 0.183 328.7)

  6. Step 500

    500 (this color)

    #CF42CD

    oklch(63% 0.232 328.5)

  7. Step 600

    600

    #BB07BA

    oklch(55.7% 0.253 328.6)

  8. Step 700

    700

    #9E009E

    oklch(49.1% 0.226 328.4)

  9. Step 800

    800

    #820382

    oklch(42.7% 0.194 328.3)

  10. Step 900

    900

    #691568

    oklch(37.7% 0.151 328.6)

  11. Step 950

    950

    #3E0F3D

    oklch(27% 0.096 328.7)

Export this scale for Tailwind in the Tailwind colors tool

#CF42CD 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)#2E74D10.246
Deuteranopia (no green cones)#6787C90.210
Tritanopia (no blue cones)#D655830.128
Achromatopsia (no color)#8080800.234

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF42CD

    #CF42CD

    oklch(63% 0.232 328.5)

  • #00A544

    #00A544

    oklch(63% 0.18 148.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF42CD

    #CF42CD

    oklch(63% 0.232 328.5)

  • #9F5BFF

    #9F5BFF

    oklch(63% 0.232 298.5)

  • #ED2C87

    #ED2C87

    oklch(63% 0.233 358.6)

Open the analogous palette in the generator

Split complementary

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

  • #CF42CD

    #CF42CD

    oklch(63% 0.232 328.5)

  • #819400

    #819400

    oklch(62.9% 0.147 118.4)

  • #009F8A

    #009F8A

    oklch(62.9% 0.115 178.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF42CD

    #CF42CD

    oklch(63% 0.232 328.5)

  • #A98400

    #A98400

    oklch(63.1% 0.129 88.8)

  • #009BAC

    #009BAC

    oklch(63.1% 0.109 208.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF42CD

    #CF42CD

    oklch(63% 0.232 328.5)

  • #CA6E00

    #CA6E00

    oklch(63% 0.15 58.5)

  • #00A544

    #00A544

    oklch(63% 0.18 148.5)

  • #0093D4

    #0093D4

    oklch(63% 0.141 238.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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