#C782F2

Closest named color: Liliac (#C48EFD). oklch(72% 0.171 311.2), rgb(199, 130, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.171)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.90:1
White text2.65:1

Values

HEX#C782F2
RGBrgb(199, 130, 242)
HSLhsl(277, 81%, 73%)
OKLCHoklch(72% 0.171 311.2)

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 #C782F2 2.65:1 Fails Lc -56.6 Large or bold text, headings
Black text on #C782F2 7.90:1 AAA Lc 52.6 Large or bold text, headings
#C782F2 text on white 2.65:1 Fails Lc 51.4 Large or bold text, headings
#C782F2 text on black 7.90:1 AAA Lc -50.4 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4F9

    oklch(93.5% 0.031 312.9)

  3. Step 200

    200

    #E6CFF6

    oklch(88.6% 0.058 311.5)

  4. Step 300

    300

    #D7ADF3

    oklch(80.9% 0.106 311.4)

  5. Step 400

    400 (this color)

    #C782F2

    oklch(72% 0.171 311.2)

  6. Step 500

    500

    #B356E7

    oklch(63% 0.218 311.2)

  7. Step 600

    600

    #9F32D5

    oklch(55.5% 0.237 311.4)

  8. Step 700

    700

    #8822B9

    oklch(49.1% 0.22 311.2)

  9. Step 800

    800

    #6E2096

    oklch(42.7% 0.183 310.9)

  10. Step 900

    900

    #592277

    oklch(37.6% 0.142 311.1)

  11. Step 950

    950

    #341646

    oklch(27% 0.09 310.6)

Export this scale for Tailwind in the Tailwind colors tool

#C782F2 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)#699BF60.137
Deuteranopia (no green cones)#7BA0EF0.125
Tritanopia (no blue cones)#C294AF0.120
Achromatopsia (no color)#9F9F9F0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #C782F2

    #C782F2

    oklch(72% 0.171 311.2)

  • #7DB938

    #7DB938

    oklch(71.9% 0.17 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C782F2

    #C782F2

    oklch(72% 0.171 311.2)

  • #9698FF

    #9698FF

    oklch(72.2% 0.148 281.2)

  • #EA75C4

    #EA75C4

    oklch(72.1% 0.171 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #C782F2

    #C782F2

    oklch(72% 0.171 311.2)

  • #B9A600

    #B9A600

    oklch(71.9% 0.15 101.1)

  • #00C384

    #00C384

    oklch(72.2% 0.16 161.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C782F2

    #C782F2

    oklch(72% 0.171 311.2)

  • #E09100

    #E09100

    oklch(72% 0.155 71)

  • #00BDB8

    #00BDB8

    oklch(72.1% 0.124 191.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C782F2

    #C782F2

    oklch(72% 0.171 311.2)

  • #FB7A47

    #FB7A47

    oklch(72.1% 0.171 41.2)

  • #7DB938

    #7DB938

    oklch(71.9% 0.17 131.2)

  • #00B7DF

    #00B7DF

    oklch(72.2% 0.132 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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