#C297EB

Closest named color: Baby Purple (#CA9BF7). oklch(74.7% 0.126 307.1), rgb(194, 151, 235).

Aa

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

About this color

#C297EB is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.126 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.023 away. Black text reads best on it, at 8.92:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text8.92:1
White text2.35:1

Values

HEX#C297EB
RGBrgb(194, 151, 235)
HSLhsl(271, 68%, 76%)
OKLCHoklch(74.7% 0.126 307.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 #C297EB 2.35:1 Fails Lc -51.2 Large or bold text, headings
Black text on #C297EB 8.92:1 AAA Lc 57.7 Large or bold text, headings
#C297EB text on white 2.35:1 Fails Lc 46.3 Large or bold text, headings
#C297EB text on black 8.92:1 AAA Lc -55.7 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E1D2F0

    oklch(88.5% 0.044 307.9)

  4. Step 300

    300

    #CEB4E9

    oklch(81% 0.078 307)

  5. Step 400

    400 (this color)

    #C297EB

    oklch(74.7% 0.126 307.1)

  6. Step 500

    500

    #A36BD4

    oklch(63.1% 0.161 307)

  7. Step 600

    600

    #8F50C1

    oklch(55.6% 0.175 307.4)

  8. Step 700

    700

    #7940A7

    oklch(49.1% 0.163 306.9)

  9. Step 800

    800

    #633587

    oklch(42.7% 0.135 307.5)

  10. Step 900

    900

    #502F6C

    oklch(37.6% 0.105 307)

  11. Step 950

    950

    #2F1C3F

    oklch(26.9% 0.067 307.6)

Export this scale for Tailwind in the Tailwind colors tool

#C297EB 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)#86A7EE0.088
Deuteranopia (no green cones)#8FA9E90.081
Tritanopia (no blue cones)#BCA3B60.093
Achromatopsia (no color)#A9A9A90.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #C297EB

    #C297EB

    oklch(74.7% 0.126 307.1)

  • #97BC61

    #97BC61

    oklch(74.8% 0.126 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C297EB

    #C297EB

    oklch(74.7% 0.126 307.1)

  • #99A5FC

    #99A5FC

    oklch(74.7% 0.126 276.9)

  • #DF8DCA

    #DF8DCA

    oklch(74.7% 0.126 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #C297EB

    #C297EB

    oklch(74.7% 0.126 307.1)

  • #C3AD44

    #C3AD44

    oklch(74.7% 0.126 97.4)

  • #60C58D

    #60C58D

    oklch(74.8% 0.126 157.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C297EB

    #C297EB

    oklch(74.7% 0.126 307.1)

  • #E29C4E

    #E29C4E

    oklch(74.7% 0.126 66.6)

  • #1FC6BA

    #1FC6BA

    oklch(74.6% 0.126 187)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C297EB

    #C297EB

    oklch(74.7% 0.126 307.1)

  • #F18F73

    #F18F73

    oklch(74.7% 0.126 36.8)

  • #97BC61

    #97BC61

    oklch(74.8% 0.126 127.4)

  • #29C0E1

    #29C0E1

    oklch(74.8% 0.126 217.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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