#C790F2

Closest named color: Liliac (#C48EFD). oklch(74.3% 0.148 309), rgb(199, 144, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.148)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.69:1
White text2.41:1

Values

HEX#C790F2
RGBrgb(199, 144, 242)
HSLhsl(274, 79%, 76%)
OKLCHoklch(74.3% 0.148 309)

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 #C790F2 2.41:1 Fails Lc -52.4 Large or bold text, headings
Black text on #C790F2 8.69:1 AAA Lc 56.6 Large or bold text, headings
#C790F2 text on white 2.41:1 Fails Lc 47.4 Large or bold text, headings
#C790F2 text on black 8.69:1 AAA Lc -54.6 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

    #EFE5F8

    oklch(93.5% 0.027 309.2)

  3. Step 200

    200

    #E3D0F3

    oklch(88.4% 0.052 309.6)

  4. Step 300

    300

    #D2B1EE

    oklch(81% 0.091 309)

  5. Step 400

    400 (this color)

    #C790F2

    oklch(74.3% 0.148 309)

  6. Step 500

    500

    #AB62DE

    oklch(63.1% 0.189 309.2)

  7. Step 600

    600

    #9644CC

    oklch(55.6% 0.205 308.9)

  8. Step 700

    700

    #8034B0

    oklch(49.1% 0.191 309.1)

  9. Step 800

    800

    #682D8F

    oklch(42.7% 0.158 308.8)

  10. Step 900

    900

    #552A72

    oklch(37.8% 0.123 309.3)

  11. Step 950

    950

    #311943

    oklch(26.9% 0.079 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#C790F2 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)#7BA4F60.110
Deuteranopia (no green cones)#88A8EF0.102
Tritanopia (no blue cones)#C29FB60.106
Achromatopsia (no color)#A7A7A70.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #C790F2

    #C790F2

    oklch(74.3% 0.148 309)

  • #8EBD51

    #8EBD51

    oklch(74.2% 0.147 129.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C790F2

    #C790F2

    oklch(74.3% 0.148 309)

  • #9AA2FF

    #9AA2FF

    oklch(74.4% 0.134 278.9)

  • #E884CA

    #E884CA

    oklch(74.3% 0.149 339.3)

Open the analogous palette in the generator

Split complementary

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

  • #C790F2

    #C790F2

    oklch(74.3% 0.148 309)

  • #C3AC1D

    #C3AC1D

    oklch(74.2% 0.147 99.1)

  • #41C889

    #41C889

    oklch(74.4% 0.148 158.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C790F2

    #C790F2

    oklch(74.3% 0.148 309)

  • #E7982D

    #E7982D

    oklch(74.2% 0.148 68.8)

  • #00C5BC

    #00C5BC

    oklch(74.2% 0.129 189)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C790F2

    #C790F2

    oklch(74.3% 0.148 309)

  • #F98862

    #F98862

    oklch(74.3% 0.147 39.2)

  • #8EBD51

    #8EBD51

    oklch(74.2% 0.147 129.1)

  • #00BFE5

    #00BFE5

    oklch(74.3% 0.134 219)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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