#C789FD

Closest named color: Liliac (#C48EFD). oklch(73.7% 0.172 307.3), rgb(199, 137, 253).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.172)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.42:1
White text2.49:1

Values

HEX#C789FD
RGBrgb(199, 137, 253)
HSLhsl(272, 97%, 76%)
OKLCHoklch(73.7% 0.172 307.3)

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 #C789FD 2.49:1 Fails Lc -53.8 Large or bold text, headings
Black text on #C789FD 8.42:1 AAA Lc 55.3 Large or bold text, headings
#C789FD text on white 2.49:1 Fails Lc 48.7 Large or bold text, headings
#C789FD text on black 8.42:1 AAA Lc -53.3 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

    #EFE5FB

    oklch(93.6% 0.031 306.2)

  3. Step 200

    200

    #E4CFF9

    oklch(88.5% 0.061 307.7)

  4. Step 300

    300

    #D3AEF7

    oklch(80.9% 0.108 307.3)

  5. Step 400

    400 (this color)

    #C789FD

    oklch(73.7% 0.172 307.3)

  6. Step 500

    500

    #AD58EE

    oklch(63% 0.221 307.3)

  7. Step 600

    600

    #9935DC

    oklch(55.6% 0.239 307.4)

  8. Step 700

    700

    #8325BF

    oklch(49.2% 0.222 307.4)

  9. Step 800

    800

    #6A229B

    oklch(42.7% 0.184 307.1)

  10. Step 900

    900

    #56247B

    oklch(37.7% 0.143 307.2)

  11. Step 950

    950

    #321648

    oklch(26.9% 0.091 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#C789FD 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)#6CA2FF0.130
Deuteranopia (no green cones)#7CA5FA0.119
Tritanopia (no blue cones)#BF9CB70.125
Achromatopsia (no color)#A4A4A40.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #C789FD

    #C789FD

    oklch(73.7% 0.172 307.3)

  • #8CBD30

    #8CBD30

    oklch(73.8% 0.172 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C789FD

    #C789FD

    oklch(73.7% 0.172 307.3)

  • #95A0FF

    #95A0FF

    oklch(73.6% 0.138 277.4)

  • #EC7BD0

    #EC7BD0

    oklch(73.7% 0.171 337.4)

Open the analogous palette in the generator

Split complementary

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

  • #C789FD

    #C789FD

    oklch(73.7% 0.172 307.3)

  • #C5A900

    #C5A900

    oklch(73.7% 0.152 97.2)

  • #10C97D

    #10C97D

    oklch(73.7% 0.172 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C789FD

    #C789FD

    oklch(73.7% 0.172 307.3)

  • #EC9200

    #EC9200

    oklch(73.6% 0.163 67.2)

  • #00C3B8

    #00C3B8

    oklch(73.6% 0.128 187.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C789FD

    #C789FD

    oklch(73.7% 0.172 307.3)

  • #FF805A

    #FF805A

    oklch(73.8% 0.164 37.4)

  • #8CBD30

    #8CBD30

    oklch(73.8% 0.172 127.3)

  • #00BDE0

    #00BDE0

    oklch(73.7% 0.132 217.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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