#C795E7

Closest named color: Baby Purple (#CA9BF7). oklch(74.7% 0.126 311.5), rgb(199, 149, 231).

Aa

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

About this color

#C795E7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.126 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.025 away. Black text reads best on it, at 8.88:1.

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

Values

HEX#C795E7
RGBrgb(199, 149, 231)
HSLhsl(277, 63%, 75%)
OKLCHoklch(74.7% 0.126 311.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 #C795E7 2.36:1 Fails Lc -51.4 Large or bold text, headings
Black text on #C795E7 8.88:1 AAA Lc 57.5 Large or bold text, headings
#C795E7 text on white 2.36:1 Fails Lc 46.5 Large or bold text, headings
#C795E7 text on black 8.88:1 AAA Lc -55.5 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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D1EF

    oklch(88.4% 0.045 312)

  4. Step 300

    300

    #D1B3E6

    oklch(80.9% 0.077 311.2)

  5. Step 400

    400 (this color)

    #C795E7

    oklch(74.7% 0.126 311.5)

  6. Step 500

    500

    #A969CF

    oklch(63.1% 0.16 311.6)

  7. Step 600

    600

    #944DBC

    oklch(55.5% 0.175 311.5)

  8. Step 700

    700

    #7E3DA2

    oklch(49% 0.163 311.5)

  9. Step 800

    800

    #673484

    oklch(42.8% 0.135 311.4)

  10. Step 900

    900

    #542E6A

    oklch(37.8% 0.106 311.6)

  11. Step 950

    950

    #311C3E

    oklch(27.1% 0.066 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#C795E7 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)#86A6EA0.096
Deuteranopia (no green cones)#92AAE50.088
Tritanopia (no blue cones)#C4A0B30.089
Achromatopsia (no color)#A8A8A80.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #C795E7

    #C795E7

    oklch(74.7% 0.126 311.5)

  • #90BD66

    #90BD66

    oklch(74.6% 0.126 131.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C795E7

    #C795E7

    oklch(74.7% 0.126 311.5)

  • #A0A2FB

    #A0A2FB

    oklch(74.6% 0.127 281.9)

  • #E38CC4

    #E38CC4

    oklch(74.7% 0.126 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #C795E7

    #C795E7

    oklch(74.7% 0.126 311.5)

  • #BEAF46

    #BEAF46

    oklch(74.7% 0.126 101.2)

  • #56C593

    #56C593

    oklch(74.5% 0.126 161.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C795E7

    #C795E7

    oklch(74.7% 0.126 311.5)

  • #DE9E49

    #DE9E49

    oklch(74.5% 0.126 71.3)

  • #13C6C1

    #13C6C1

    oklch(74.8% 0.126 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C795E7

    #C795E7

    oklch(74.7% 0.126 311.5)

  • #F0906C

    #F0906C

    oklch(74.6% 0.127 41.2)

  • #90BD66

    #90BD66

    oklch(74.6% 0.126 131.3)

  • #31BEE5

    #31BEE5

    oklch(74.6% 0.126 221.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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