#C795EC

Closest named color: Baby Purple (#CA9BF7). oklch(74.9% 0.132 309.9), rgb(199, 149, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text8.93:1
White text2.34:1

Values

HEX#C795EC
RGBrgb(199, 149, 236)
HSLhsl(274, 70%, 75%)
OKLCHoklch(74.9% 0.132 309.9)

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 #C795EC 2.34:1 Fails Lc -51.1 Large or bold text, headings
Black text on #C795EC 8.93:1 AAA Lc 57.8 Large or bold text, headings
#C795EC text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#C795EC text on black 8.93:1 AAA Lc -55.9 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

    #E2D1F0

    oklch(88.4% 0.046 309.9)

  4. Step 300

    300

    #D1B2E9

    oklch(80.9% 0.083 310.1)

  5. Step 400

    400 (this color)

    #C795EC

    oklch(74.9% 0.132 309.9)

  6. Step 500

    500

    #A867D5

    oklch(63% 0.17 309.7)

  7. Step 600

    600

    #944BC2

    oklch(55.6% 0.185 310)

  8. Step 700

    700

    #7E3CA7

    oklch(49.2% 0.17 310)

  9. Step 800

    800

    #663287

    oklch(42.6% 0.141 309.9)

  10. Step 900

    900

    #532D6C

    oklch(37.6% 0.11 310)

  11. Step 950

    950

    #311B40

    oklch(27% 0.071 309.9)

Export this scale for Tailwind in the Tailwind colors tool

#C795EC 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)#84A7EF0.099
Deuteranopia (no green cones)#90AAEA0.090
Tritanopia (no blue cones)#C3A1B60.094
Achromatopsia (no color)#A9A9A90.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #C795EC

    #C795EC

    oklch(74.9% 0.132 309.9)

  • #92BE60

    #92BE60

    oklch(74.9% 0.132 129.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C795EC

    #C795EC

    oklch(74.9% 0.132 309.9)

  • #9DA3FF

    #9DA3FF

    oklch(74.8% 0.132 279.8)

  • #E58BC8

    #E58BC8

    oklch(74.9% 0.133 340)

Open the analogous palette in the generator

Split complementary

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

  • #C795EC

    #C795EC

    oklch(74.9% 0.132 309.9)

  • #C1AF3E

    #C1AF3E

    oklch(74.9% 0.132 100.1)

  • #54C790

    #54C790

    oklch(74.9% 0.133 159.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C795EC

    #C795EC

    oklch(74.9% 0.132 309.9)

  • #E39D44

    #E39D44

    oklch(74.9% 0.133 69.5)

  • #00C7BF

    #00C7BF

    oklch(74.8% 0.129 189.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C795EC

    #C795EC

    oklch(74.9% 0.132 309.9)

  • #F48F6C

    #F48F6C

    oklch(75% 0.132 39.8)

  • #92BE60

    #92BE60

    oklch(74.9% 0.132 129.8)

  • #1CC0E7

    #1CC0E7

    oklch(74.9% 0.132 220.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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