#C18AFF

Closest named color: Liliac (#C48EFD). oklch(73.4% 0.171 304.2), rgb(193, 138, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.171)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.34:1
White text2.51:1

Values

HEX#C18AFF
RGBrgb(193, 138, 255)
HSLhsl(268, 100%, 77%)
OKLCHoklch(73.4% 0.171 304.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 #C18AFF 2.51:1 Fails Lc -54.2 Large or bold text, headings
Black text on #C18AFF 8.34:1 AAA Lc 54.9 Large or bold text, headings
#C18AFF text on white 2.51:1 Fails Lc 49.1 Large or bold text, headings
#C18AFF text on black 8.34:1 AAA Lc -52.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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E1D0FA

    oklch(88.5% 0.06 303.6)

  4. Step 300

    300

    #D0AFF9

    oklch(80.9% 0.108 304.5)

  5. Step 400

    400 (this color)

    #C18AFF

    oklch(73.4% 0.171 304.2)

  6. Step 500

    500

    #A85BF2

    oklch(63.1% 0.219 304.3)

  7. Step 600

    600

    #9439E0

    oklch(55.6% 0.237 304.3)

  8. Step 700

    700

    #7E28C3

    oklch(49.1% 0.222 304.1)

  9. Step 800

    800

    #66259D

    oklch(42.7% 0.182 304.1)

  10. Step 900

    900

    #53257D

    oklch(37.6% 0.143 304.3)

  11. Step 950

    950

    #311749

    oklch(27% 0.091 305)

Export this scale for Tailwind in the Tailwind colors tool

#C18AFF 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)#6AA2FF0.124
Deuteranopia (no green cones)#78A3FC0.112
Tritanopia (no blue cones)#B79EB80.129
Achromatopsia (no color)#A3A3A30.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #C18AFF

    #C18AFF

    oklch(73.4% 0.171 304.2)

  • #92BA25

    #92BA25

    oklch(73.4% 0.171 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C18AFF

    #C18AFF

    oklch(73.4% 0.171 304.2)

  • #8FA1FF

    #8FA1FF

    oklch(73.4% 0.138 274.3)

  • #E87BD4

    #E87BD4

    oklch(73.4% 0.171 334.5)

Open the analogous palette in the generator

Split complementary

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

  • #C18AFF

    #C18AFF

    oklch(73.4% 0.171 304.2)

  • #C8A600

    #C8A600

    oklch(73.4% 0.151 94.1)

  • #2DC775

    #2DC775

    oklch(73.3% 0.172 154.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C18AFF

    #C18AFF

    oklch(73.4% 0.171 304.2)

  • #EF8E00

    #EF8E00

    oklch(73.3% 0.166 64)

  • #00C3B2

    #00C3B2

    oklch(73.4% 0.13 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C18AFF

    #C18AFF

    oklch(73.4% 0.171 304.2)

  • #FF7D5F

    #FF7D5F

    oklch(73.4% 0.165 34.3)

  • #92BA25

    #92BA25

    oklch(73.4% 0.171 124.3)

  • #00BDDA

    #00BDDA

    oklch(73.4% 0.129 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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