#C28FF5

Closest named color: Liliac (#C48EFD). oklch(73.8% 0.151 306.1), rgb(194, 143, 245).

Aa

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

About this color

#C28FF5 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.151 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.013 away. Black text reads best on it, at 8.54:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.151)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.54:1
White text2.45:1

Values

HEX#C28FF5
RGBrgb(194, 143, 245)
HSLhsl(270, 84%, 76%)
OKLCHoklch(73.8% 0.151 306.1)

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 #C28FF5 2.45:1 Fails Lc -53.2 Large or bold text, headings
Black text on #C28FF5 8.54:1 AAA Lc 55.8 Large or bold text, headings
#C28FF5 text on white 2.45:1 Fails Lc 48.2 Large or bold text, headings
#C28FF5 text on black 8.54:1 AAA Lc -53.8 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E2D1F5

    oklch(88.6% 0.052 306.6)

  4. Step 300

    300

    #D0B1F1

    oklch(80.9% 0.094 306.5)

  5. Step 400

    400 (this color)

    #C28FF5

    oklch(73.8% 0.151 306.1)

  6. Step 500

    500

    #A762E4

    oklch(63.1% 0.194 306.1)

  7. Step 600

    600

    #9344D2

    oklch(55.7% 0.211 306.2)

  8. Step 700

    700

    #7D34B6

    oklch(49.1% 0.196 306)

  9. Step 800

    800

    #652D93

    oklch(42.7% 0.161 305.8)

  10. Step 900

    900

    #532A75

    oklch(37.8% 0.126 306.5)

  11. Step 950

    950

    #301A45

    oklch(27.1% 0.079 305.3)

Export this scale for Tailwind in the Tailwind colors tool

#C28FF5 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)#77A3F90.108
Deuteranopia (no green cones)#83A6F20.100
Tritanopia (no blue cones)#BA9FB60.112
Achromatopsia (no color)#A5A5A50.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #C28FF5

    #C28FF5

    oklch(73.8% 0.151 306.1)

  • #92BB46

    #92BB46

    oklch(73.9% 0.152 126.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C28FF5

    #C28FF5

    oklch(73.8% 0.151 306.1)

  • #93A1FF

    #93A1FF

    oklch(73.7% 0.137 276.1)

  • #E483CE

    #E483CE

    oklch(73.8% 0.15 336)

Open the analogous palette in the generator

Split complementary

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

  • #C28FF5

    #C28FF5

    oklch(73.8% 0.151 306.1)

  • #C7A903

    #C7A903

    oklch(73.9% 0.152 96.2)

  • #45C681

    #45C681

    oklch(73.9% 0.151 156)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C28FF5

    #C28FF5

    oklch(73.8% 0.151 306.1)

  • #E99429

    #E99429

    oklch(73.7% 0.151 66.2)

  • #00C4B6

    #00C4B6

    oklch(73.8% 0.13 185.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C28FF5

    #C28FF5

    oklch(73.8% 0.151 306.1)

  • #FA8464

    #FA8464

    oklch(73.9% 0.151 36.1)

  • #92BB46

    #92BB46

    oklch(73.9% 0.152 126.3)

  • #00BEDF

    #00BEDF

    oklch(73.9% 0.131 216.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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