#C792EA

Closest named color: Baby Purple (#CA9BF7). oklch(74.3% 0.135 311.1), rgb(199, 146, 234).

Aa

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

About this color

#C792EA is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.135 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.026 away. Black text reads best on it, at 8.72:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text8.72:1
White text2.40:1

Values

HEX#C792EA
RGBrgb(199, 146, 234)
HSLhsl(276, 68%, 75%)
OKLCHoklch(74.3% 0.135 311.1)

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 #C792EA 2.40:1 Fails Lc -52.2 Large or bold text, headings
Black text on #C792EA 8.72:1 AAA Lc 56.7 Large or bold text, headings
#C792EA text on white 2.40:1 Fails Lc 47.3 Large or bold text, headings
#C792EA text on black 8.72:1 AAA Lc -54.8 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1F0

    oklch(88.5% 0.046 311.2)

  4. Step 300

    300

    #D2B2E9

    oklch(81% 0.083 310.8)

  5. Step 400

    400 (this color)

    #C792EA

    oklch(74.3% 0.135 311.1)

  6. Step 500

    500

    #AB66D5

    oklch(63.2% 0.172 311.1)

  7. Step 600

    600

    #9649C2

    oklch(55.6% 0.188 311.1)

  8. Step 700

    700

    #803AA7

    oklch(49.1% 0.173 311.2)

  9. Step 800

    800

    #683187

    oklch(42.7% 0.143 311.3)

  10. Step 900

    900

    #542C6C

    oklch(37.6% 0.112 311)

  11. Step 950

    950

    #311B40

    oklch(27% 0.071 309.9)

Export this scale for Tailwind in the Tailwind colors tool

#C792EA 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)#81A4ED0.103
Deuteranopia (no green cones)#8EA8E70.094
Tritanopia (no blue cones)#C39EB30.095
Achromatopsia (no color)#A7A7A70.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #C792EA

    #C792EA

    oklch(74.3% 0.135 311.1)

  • #8DBD5E

    #8DBD5E

    oklch(74.3% 0.135 131.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C792EA

    #C792EA

    oklch(74.3% 0.135 311.1)

  • #9DA0FF

    #9DA0FF

    oklch(74.2% 0.136 281.2)

  • #E488C5

    #E488C5

    oklch(74.2% 0.135 340.8)

Open the analogous palette in the generator

Split complementary

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

  • #C792EA

    #C792EA

    oklch(74.3% 0.135 311.1)

  • #BEAE38

    #BEAE38

    oklch(74.3% 0.135 101.4)

  • #4CC690

    #4CC690

    oklch(74.4% 0.135 161.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C792EA

    #C792EA

    oklch(74.3% 0.135 311.1)

  • #E09C3E

    #E09C3E

    oklch(74.3% 0.134 71.4)

  • #00C5BF

    #00C5BF

    oklch(74.3% 0.128 190.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C792EA

    #C792EA

    oklch(74.3% 0.135 311.1)

  • #F28D66

    #F28D66

    oklch(74.3% 0.134 41.6)

  • #8DBD5E

    #8DBD5E

    oklch(74.3% 0.135 131.1)

  • #0DBEE7

    #0DBEE7

    oklch(74.3% 0.135 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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