#C18DEC

Closest named color: Liliac (#C48EFD). oklch(72.9% 0.143 308.4), rgb(193, 141, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.143)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.28:1
White text2.53:1

Values

HEX#C18DEC
RGBrgb(193, 141, 236)
HSLhsl(273, 71%, 74%)
OKLCHoklch(72.9% 0.143 308.4)

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 #C18DEC 2.53:1 Fails Lc -54.6 Large or bold text, headings
Black text on #C18DEC 8.28:1 AAA Lc 54.5 Large or bold text, headings
#C18DEC text on white 2.53:1 Fails Lc 49.5 Large or bold text, headings
#C18DEC text on black 8.28:1 AAA Lc -52.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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE6F8

    oklch(93.7% 0.026 308.2)

  3. Step 200

    200

    #E2D1F3

    oklch(88.5% 0.049 307.8)

  4. Step 300

    300

    #D1B1ED

    oklch(80.8% 0.09 308.7)

  5. Step 400

    400 (this color)

    #C18DEC

    oklch(72.9% 0.143 308.4)

  6. Step 500

    500

    #A964DD

    oklch(63.2% 0.184 308.4)

  7. Step 600

    600

    #9447CA

    oklch(55.6% 0.199 308.3)

  8. Step 700

    700

    #7E37AF

    oklch(49.1% 0.185 308.1)

  9. Step 800

    800

    #672F8D

    oklch(42.7% 0.153 308.7)

  10. Step 900

    900

    #542B71

    oklch(37.8% 0.12 308.8)

  11. Step 950

    950

    #311A42

    oklch(27% 0.076 308.7)

Export this scale for Tailwind in the Tailwind colors tool

#C18DEC 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)#79A0F00.105
Deuteranopia (no green cones)#85A3E90.097
Tritanopia (no blue cones)#BB9BB10.104
Achromatopsia (no color)#A3A3A30.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #C18DEC

    #C18DEC

    oklch(72.9% 0.143 308.4)

  • #8CB84F

    #8CB84F

    oklch(72.9% 0.143 128.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C18DEC

    #C18DEC

    oklch(72.9% 0.143 308.4)

  • #949DFF

    #949DFF

    oklch(73% 0.142 278.3)

  • #E182C6

    #E182C6

    oklch(73% 0.143 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #C18DEC

    #C18DEC

    oklch(72.9% 0.143 308.4)

  • #BFA81F

    #BFA81F

    oklch(73% 0.144 98.7)

  • #43C285

    #43C285

    oklch(72.9% 0.143 158.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C18DEC

    #C18DEC

    oklch(72.9% 0.143 308.4)

  • #E1942F

    #E1942F

    oklch(72.8% 0.143 68.3)

  • #00C0B7

    #00C0B7

    oklch(72.8% 0.126 188.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C18DEC

    #C18DEC

    oklch(72.9% 0.143 308.4)

  • #F28562

    #F28562

    oklch(72.9% 0.142 38.5)

  • #8CB84F

    #8CB84F

    oklch(72.9% 0.143 128.5)

  • #00BADE

    #00BADE

    oklch(72.8% 0.131 218.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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