#C790EB

Closest named color: Liliac (#C48EFD). oklch(74% 0.139 311.1), rgb(199, 144, 235).

Aa

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

About this color

#C790EB is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.139 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.028 away. Black text reads best on it, at 8.61:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.61:1
White text2.43:1

Values

HEX#C790EB
RGBrgb(199, 144, 235)
HSLhsl(276, 69%, 74%)
OKLCHoklch(74% 0.139 311.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 #C790EB 2.43:1 Fails Lc -52.8 Large or bold text, headings
Black text on #C790EB 8.61:1 AAA Lc 56.2 Large or bold text, headings
#C790EB text on white 2.43:1 Fails Lc 47.8 Large or bold text, headings
#C790EB text on black 8.61:1 AAA Lc -54.2 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE5F7

    oklch(93.5% 0.026 310.4)

  3. Step 200

    200

    #E4D1F1

    oklch(88.6% 0.048 311.7)

  4. Step 300

    300

    #D3B1EA

    oklch(80.9% 0.087 311.4)

  5. Step 400

    400 (this color)

    #C790EB

    oklch(74% 0.139 311.1)

  6. Step 500

    500

    #AC64D7

    oklch(63.1% 0.178 311.2)

  7. Step 600

    600

    #9747C4

    oklch(55.6% 0.193 311.1)

  8. Step 700

    700

    #8137AA

    oklch(49.1% 0.181 311)

  9. Step 800

    800

    #692F89

    oklch(42.7% 0.149 311.4)

  10. Step 900

    900

    #552B6E

    oklch(37.7% 0.117 311)

  11. Step 950

    950

    #321A40

    oklch(27% 0.073 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#C790EB 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)#7EA3EE0.107
Deuteranopia (no green cones)#8CA7E80.098
Tritanopia (no blue cones)#C39DB30.098
Achromatopsia (no color)#A6A6A60.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #C790EB

    #C790EB

    oklch(74% 0.139 311.1)

  • #8BBC5A

    #8BBC5A

    oklch(73.9% 0.139 131.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C790EB

    #C790EB

    oklch(74% 0.139 311.1)

  • #9C9FFF

    #9C9FFF

    oklch(73.9% 0.138 281.1)

  • #E586C5

    #E586C5

    oklch(74% 0.139 340.9)

Open the analogous palette in the generator

Split complementary

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

  • #C790EB

    #C790EB

    oklch(74% 0.139 311.1)

  • #BEAD30

    #BEAD30

    oklch(74.1% 0.139 101.3)

  • #45C58E

    #45C58E

    oklch(73.9% 0.139 161.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C790EB

    #C790EB

    oklch(74% 0.139 311.1)

  • #E19A36

    #E19A36

    oklch(74% 0.139 71.1)

  • #00C4BE

    #00C4BE

    oklch(74.1% 0.128 190.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C790EB

    #C790EB

    oklch(74% 0.139 311.1)

  • #F38A63

    #F38A63

    oklch(73.9% 0.139 40.9)

  • #8BBC5A

    #8BBC5A

    oklch(73.9% 0.139 131.1)

  • #00BDE7

    #00BDE7

    oklch(74% 0.136 221.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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