#C18EFF

Closest named color: Liliac (#C48EFD). oklch(74% 0.165 303.4), rgb(193, 142, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.165)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.58:1
White text2.44:1

Values

HEX#C18EFF
RGBrgb(193, 142, 255)
HSLhsl(267, 100%, 78%)
OKLCHoklch(74% 0.165 303.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 #C18EFF 2.44:1 Fails Lc -53.0 Large or bold text, headings
Black text on #C18EFF 8.58:1 AAA Lc 56.0 Large or bold text, headings
#C18EFF text on white 2.44:1 Fails Lc 48.0 Large or bold text, headings
#C18EFF text on black 8.58:1 AAA Lc -54.0 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E1D1F9

    oklch(88.6% 0.057 303.4)

  4. Step 300

    300

    #CEB0F7

    oklch(80.8% 0.103 303.5)

  5. Step 400

    400 (this color)

    #C18EFF

    oklch(74% 0.165 303.4)

  6. Step 500

    500

    #A55FEF

    oklch(63.1% 0.21 303.3)

  7. Step 600

    600

    #913EDD

    oklch(55.6% 0.229 303.5)

  8. Step 700

    700

    #7C2EC0

    oklch(49.1% 0.213 303.6)

  9. Step 800

    800

    #64289B

    oklch(42.6% 0.176 303.4)

  10. Step 900

    900

    #52277C

    oklch(37.7% 0.139 303.6)

  11. Step 950

    950

    #301848

    oklch(26.9% 0.087 304.2)

Export this scale for Tailwind in the Tailwind colors tool

#C18EFF 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)#70A4FF0.115
Deuteranopia (no green cones)#7CA5FC0.105
Tritanopia (no blue cones)#B6A1BA0.125
Achromatopsia (no color)#A6A6A60.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #C18EFF

    #C18EFF

    oklch(74% 0.165 303.4)

  • #97BB30

    #97BB30

    oklch(74% 0.165 123.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C18EFF

    #C18EFF

    oklch(74% 0.165 303.4)

  • #90A4FF

    #90A4FF

    oklch(74.1% 0.134 273.3)

  • #E780D6

    #E780D6

    oklch(74% 0.164 333.5)

Open the analogous palette in the generator

Split complementary

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

  • #C18EFF

    #C18EFF

    oklch(74% 0.165 303.4)

  • #CBA700

    #CBA700

    oklch(73.9% 0.151 93.3)

  • #3FC878

    #3FC878

    oklch(74% 0.165 153.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C18EFF

    #C18EFF

    oklch(74% 0.165 303.4)

  • #F29011

    #F29011

    oklch(74.1% 0.165 63.3)

  • #00C5B3

    #00C5B3

    oklch(74% 0.131 183.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C18EFF

    #C18EFF

    oklch(74% 0.165 303.4)

  • #FF8165

    #FF8165

    oklch(74.1% 0.159 33.8)

  • #97BB30

    #97BB30

    oklch(74% 0.165 123.4)

  • #00BFDC

    #00BFDC

    oklch(74% 0.13 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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