#C28CF2

Closest named color: Liliac (#C48EFD). oklch(73.2% 0.153 307.4), rgb(194, 140, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.153)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.32:1
White text2.52:1

Values

HEX#C28CF2
RGBrgb(194, 140, 242)
HSLhsl(272, 80%, 75%)
OKLCHoklch(73.2% 0.153 307.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 #C28CF2 2.52:1 Fails Lc -54.4 Large or bold text, headings
Black text on #C28CF2 8.32:1 AAA Lc 54.7 Large or bold text, headings
#C28CF2 text on white 2.52:1 Fails Lc 49.3 Large or bold text, headings
#C28CF2 text on black 8.32:1 AAA Lc -52.7 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

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E2D0F5

    oklch(88.4% 0.054 307.2)

  4. Step 300

    300

    #D1B0F1

    oklch(80.8% 0.096 307.5)

  5. Step 400

    400 (this color)

    #C28CF2

    oklch(73.2% 0.153 307.4)

  6. Step 500

    500

    #A961E3

    oklch(63.1% 0.195 307.3)

  7. Step 600

    600

    #9542D1

    oklch(55.6% 0.213 307.4)

  8. Step 700

    700

    #7F32B5

    oklch(49.1% 0.198 307.4)

  9. Step 800

    800

    #672C92

    oklch(42.7% 0.162 307.3)

  10. Step 900

    900

    #542975

    oklch(37.7% 0.128 307.4)

  11. Step 950

    950

    #311944

    oklch(27% 0.08 307.6)

Export this scale for Tailwind in the Tailwind colors tool

#C28CF2 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)#75A1F60.112
Deuteranopia (no green cones)#82A4EF0.103
Tritanopia (no blue cones)#BB9CB40.111
Achromatopsia (no color)#A3A3A30.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #C28CF2

    #C28CF2

    oklch(73.2% 0.153 307.4)

  • #8DB945

    #8DB945

    oklch(73% 0.152 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C28CF2

    #C28CF2

    oklch(73.2% 0.153 307.4)

  • #939EFF

    #939EFF

    oklch(73.1% 0.141 277.4)

  • #E480CA

    #E480CA

    oklch(73.2% 0.152 337.6)

Open the analogous palette in the generator

Split complementary

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

  • #C28CF2

    #C28CF2

    oklch(73.2% 0.153 307.4)

  • #C3A700

    #C3A700

    oklch(73.1% 0.151 97)

  • #3BC481

    #3BC481

    oklch(73.1% 0.153 157.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C28CF2

    #C28CF2

    oklch(73.2% 0.153 307.4)

  • #E69320

    #E69320

    oklch(73.2% 0.152 67.8)

  • #00C1B6

    #00C1B6

    oklch(73% 0.127 187.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C28CF2

    #C28CF2

    oklch(73.2% 0.153 307.4)

  • #F8825F

    #F8825F

    oklch(73.2% 0.153 37.3)

  • #8DB945

    #8DB945

    oklch(73% 0.152 127.4)

  • #00BBDE

    #00BBDE

    oklch(73.1% 0.131 217.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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