#C783EC

Closest named color: Liliac (#C48EFD). oklch(71.9% 0.162 312.7), rgb(199, 131, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.162)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.88:1
White text2.66:1

Values

HEX#C783EC
RGBrgb(199, 131, 236)
HSLhsl(279, 73%, 72%)
OKLCHoklch(71.9% 0.162 312.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 #C783EC 2.66:1 Fails Lc -56.7 Large or bold text, headings
Black text on #C783EC 7.88:1 AAA Lc 52.5 Large or bold text, headings
#C783EC text on white 2.66:1 Fails Lc 51.6 Large or bold text, headings
#C783EC text on black 7.88:1 AAA Lc -50.3 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F8

    oklch(93.7% 0.028 313.4)

  3. Step 200

    200

    #E6CFF4

    oklch(88.5% 0.056 312.8)

  4. Step 300

    300

    #D7AEF0

    oklch(80.9% 0.101 312.3)

  5. Step 400

    400 (this color)

    #C783EC

    oklch(71.9% 0.162 312.7)

  6. Step 500

    500

    #B459E1

    oklch(63.1% 0.208 312.8)

  7. Step 600

    600

    #9F38CE

    oklch(55.6% 0.225 312.8)

  8. Step 700

    700

    #8828B3

    oklch(49.1% 0.21 312.6)

  9. Step 800

    800

    #6F2491

    oklch(42.8% 0.174 312.8)

  10. Step 900

    900

    #5A2473

    oklch(37.7% 0.135 313.2)

  11. Step 950

    950

    #341744

    oklch(27% 0.085 311.8)

Export this scale for Tailwind in the Tailwind colors tool

#C783EC 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)#6D9BF00.133
Deuteranopia (no green cones)#7FA0E90.120
Tritanopia (no blue cones)#C493AC0.113
Achromatopsia (no color)#9F9F9F0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #C783EC

    #C783EC

    oklch(71.9% 0.162 312.7)

  • #7BB944

    #7BB944

    oklch(71.9% 0.162 132.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C783EC

    #C783EC

    oklch(71.9% 0.162 312.7)

  • #9896FF

    #9896FF

    oklch(71.9% 0.15 282.8)

  • #E877BF

    #E877BF

    oklch(72% 0.162 343)

Open the analogous palette in the generator

Split complementary

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

  • #C783EC

    #C783EC

    oklch(71.9% 0.162 312.7)

  • #B7A700

    #B7A700

    oklch(72% 0.151 102.6)

  • #00C287

    #00C287

    oklch(72% 0.156 162.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C783EC

    #C783EC

    oklch(71.9% 0.162 312.7)

  • #DD9200

    #DD9200

    oklch(71.8% 0.153 72.8)

  • #00BCB9

    #00BCB9

    oklch(71.9% 0.123 192.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C783EC

    #C783EC

    oklch(71.9% 0.162 312.7)

  • #F67D49

    #F67D49

    oklch(71.9% 0.163 42.7)

  • #7BB944

    #7BB944

    oklch(71.9% 0.162 132.8)

  • #00B6E1

    #00B6E1

    oklch(72% 0.134 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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