#C795FF

Closest named color: Liliac (#C48EFD). oklch(75.8% 0.155 304.7), rgb(199, 149, 255).

Aa

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

About this color

#C795FF is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.155 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.017 away. Black text reads best on it, at 9.17:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.155)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text9.17:1
White text2.28:1

Values

HEX#C795FF
RGBrgb(199, 149, 255)
HSLhsl(268, 100%, 79%)
OKLCHoklch(75.8% 0.155 304.7)

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 #C795FF 2.28:1 Fails Lc -49.9 Large or bold text, headings
Black text on #C795FF 9.17:1 AAA Lc 59.0 Large or bold text, headings
#C795FF text on white 2.28:1 Fails Lc 45.0 Non-text elements, placeholder text
#C795FF text on black 9.17:1 AAA Lc -57.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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E1D1F7

    oklch(88.6% 0.054 304.4)

  4. Step 300

    300

    #CFB1F4

    oklch(80.9% 0.098 304.8)

  5. Step 400

    400 (this color)

    #C795FF

    oklch(75.8% 0.155 304.7)

  6. Step 500

    500

    #A662E8

    oklch(63.2% 0.198 304.8)

  7. Step 600

    600

    #9143D6

    oklch(55.6% 0.216 304.5)

  8. Step 700

    700

    #7C33B9

    oklch(49.1% 0.2 304.9)

  9. Step 800

    800

    #652C96

    oklch(42.8% 0.166 304.9)

  10. Step 900

    900

    #522A77

    oklch(37.8% 0.128 304.9)

  11. Step 950

    950

    #301946

    oklch(27% 0.083 305.1)

Export this scale for Tailwind in the Tailwind colors tool

#C795FF 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)#7BAAFF0.109
Deuteranopia (no green cones)#87ABFC0.099
Tritanopia (no blue cones)#BEA6BE0.116
Achromatopsia (no color)#ABABAB0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #C795FF

    #C795FF

    oklch(75.8% 0.155 304.7)

  • #9BC146

    #9BC146

    oklch(75.9% 0.155 124.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C795FF

    #C795FF

    oklch(75.8% 0.155 304.7)

  • #99AAFF

    #99AAFF

    oklch(75.9% 0.124 274.5)

  • #EB88D8

    #EB88D8

    oklch(75.8% 0.155 334.5)

Open the analogous palette in the generator

Split complementary

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

  • #C795FF

    #C795FF

    oklch(75.8% 0.155 304.7)

  • #D0AE02

    #D0AE02

    oklch(75.9% 0.155 94.8)

  • #4CCD83

    #4CCD83

    oklch(75.9% 0.156 154.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C795FF

    #C795FF

    oklch(75.8% 0.155 304.7)

  • #F3992E

    #F3992E

    oklch(75.9% 0.155 64.9)

  • #00CBBB

    #00CBBB

    oklch(75.7% 0.134 184.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C795FF

    #C795FF

    oklch(75.8% 0.155 304.7)

  • #FF8B6F

    #FF8B6F

    oklch(75.8% 0.147 34.6)

  • #9BC146

    #9BC146

    oklch(75.9% 0.155 124.7)

  • #00C5E5

    #00C5E5

    oklch(75.8% 0.134 214.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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