#C187F8

Closest named color: Liliac (#C48EFD). oklch(72.5% 0.168 306.4), rgb(193, 135, 248).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.168)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.08:1
White text2.59:1

Values

HEX#C187F8
RGBrgb(193, 135, 248)
HSLhsl(271, 89%, 75%)
OKLCHoklch(72.5% 0.168 306.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 #C187F8 2.59:1 Fails Lc -55.6 Large or bold text, headings
Black text on #C187F8 8.08:1 AAA Lc 53.5 Large or bold text, headings
#C187F8 text on white 2.59:1 Fails Lc 50.5 Large or bold text, headings
#C187F8 text on black 8.08:1 AAA Lc -51.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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5FA

    oklch(93.6% 0.03 307.1)

  3. Step 200

    200

    #E3D0F8

    oklch(88.6% 0.058 306.7)

  4. Step 300

    300

    #D2AFF6

    oklch(80.9% 0.105 306.7)

  5. Step 400

    400 (this color)

    #C187F8

    oklch(72.5% 0.168 306.4)

  6. Step 500

    500

    #AB5BED

    oklch(63.1% 0.215 306.4)

  7. Step 600

    600

    #973ADB

    oklch(55.7% 0.232 306.5)

  8. Step 700

    700

    #8029BE

    oklch(49% 0.217 306.2)

  9. Step 800

    800

    #68259A

    oklch(42.7% 0.18 306.1)

  10. Step 900

    900

    #55257A

    oklch(37.7% 0.14 306.8)

  11. Step 950

    950

    #311748

    oklch(26.9% 0.089 305.7)

Export this scale for Tailwind in the Tailwind colors tool

#C187F8 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)#6A9FFC0.124
Deuteranopia (no green cones)#79A1F50.113
Tritanopia (no blue cones)#B99AB40.123
Achromatopsia (no color)#A1A1A10.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #C187F8

    #C187F8

    oklch(72.5% 0.168 306.4)

  • #8BB82E

    #8BB82E

    oklch(72.5% 0.168 126.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C187F8

    #C187F8

    oklch(72.5% 0.168 306.4)

  • #8F9CFF

    #8F9CFF

    oklch(72.4% 0.144 276.5)

  • #E679CD

    #E679CD

    oklch(72.6% 0.168 336.5)

Open the analogous palette in the generator

Split complementary

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

  • #C187F8

    #C187F8

    oklch(72.5% 0.168 306.4)

  • #C2A500

    #C2A500

    oklch(72.6% 0.149 96.4)

  • #21C479

    #21C479

    oklch(72.5% 0.167 156.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C187F8

    #C187F8

    oklch(72.5% 0.168 306.4)

  • #E88E00

    #E88E00

    oklch(72.4% 0.161 66.4)

  • #00BFB3

    #00BFB3

    oklch(72.4% 0.127 186.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C187F8

    #C187F8

    oklch(72.5% 0.168 306.4)

  • #FC7A56

    #FC7A56

    oklch(72.4% 0.167 36.4)

  • #8BB82E

    #8BB82E

    oklch(72.5% 0.168 126.4)

  • #00B9DA

    #00B9DA

    oklch(72.4% 0.129 216.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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