#CA7EF7

Closest named color: Light Purple (#BF77F6). oklch(72% 0.184 311.6), rgb(202, 126, 247).

Aa

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

About this color

#CA7EF7 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.184 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.026 away. Black text reads best on it, at 7.83:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.184)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.83:1
White text2.67:1

Values

HEX#CA7EF7
RGBrgb(202, 126, 247)
HSLhsl(278, 88%, 73%)
OKLCHoklch(72% 0.184 311.6)

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 #CA7EF7 2.67:1 Fails Lc -56.9 Large or bold text, headings
Black text on #CA7EF7 7.83:1 AAA Lc 52.3 Large or bold text, headings
#CA7EF7 text on white 2.67:1 Fails Lc 51.7 Large or bold text, headings
#CA7EF7 text on black 7.83:1 AAA Lc -50.1 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FB

    oklch(93.6% 0.034 310.7)

  3. Step 200

    200

    #E7CEF8

    oklch(88.5% 0.063 311.6)

  4. Step 300

    300

    #D9ABF7

    oklch(80.9% 0.115 311.5)

  5. Step 400

    400 (this color)

    #CA7EF7

    oklch(72% 0.184 311.6)

  6. Step 500

    500

    #B74FEE

    oklch(63.1% 0.235 311.5)

  7. Step 600

    600

    #A325DC

    oklch(55.6% 0.255 311.7)

  8. Step 700

    700

    #8B11BF

    oklch(49.1% 0.237 311.4)

  9. Step 800

    800

    #71169A

    oklch(42.6% 0.196 311.7)

  10. Step 900

    900

    #5C1D7B

    oklch(37.8% 0.154 311.8)

  11. Step 950

    950

    #361348

    oklch(27% 0.098 312)

Export this scale for Tailwind in the Tailwind colors tool

#CA7EF7 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)#619AFB0.151
Deuteranopia (no green cones)#77A0F40.137
Tritanopia (no blue cones)#C591AF0.127
Achromatopsia (no color)#9E9E9E0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7EF7

    #CA7EF7

    oklch(72% 0.184 311.6)

  • #79BB28

    #79BB28

    oklch(72.1% 0.184 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7EF7

    #CA7EF7

    oklch(72% 0.184 311.6)

  • #9697FF

    #9697FF

    oklch(72% 0.149 281.6)

  • #EE6FC5

    #EE6FC5

    oklch(71.9% 0.184 341.5)

Open the analogous palette in the generator

Split complementary

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

  • #CA7EF7

    #CA7EF7

    oklch(72% 0.184 311.6)

  • #B9A700

    #B9A700

    oklch(72.1% 0.151 101.7)

  • #00C285

    #00C285

    oklch(71.9% 0.158 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7EF7

    #CA7EF7

    oklch(72% 0.184 311.6)

  • #DF9200

    #DF9200

    oklch(72% 0.154 72)

  • #00BDB8

    #00BDB8

    oklch(72.1% 0.124 191.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7EF7

    #CA7EF7

    oklch(72% 0.184 311.6)

  • #FF763D

    #FF763D

    oklch(72% 0.181 41.6)

  • #79BB28

    #79BB28

    oklch(72.1% 0.184 131.5)

  • #00B6DF

    #00B6DF

    oklch(71.9% 0.133 221.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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