#C298FA

Closest named color: Baby Purple (#CA9BF7). oklch(75.6% 0.143 302.9), rgb(194, 152, 250).

Aa

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

About this color

#C298FA is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.143 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.016 away. Black text reads best on it, at 9.16:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.143)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.16:1
White text2.29:1

Values

HEX#C298FA
RGBrgb(194, 152, 250)
HSLhsl(266, 91%, 79%)
OKLCHoklch(75.6% 0.143 302.9)

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 #C298FA 2.29:1 Fails Lc -49.9 Large or bold text, headings
Black text on #C298FA 9.16:1 AAA Lc 58.9 Large or bold text, headings
#C298FA text on white 2.29:1 Fails Lc 45.1 Large or bold text, headings
#C298FA text on black 9.16:1 AAA Lc -57.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DFD2F5

    oklch(88.5% 0.049 302.3)

  4. Step 300

    300

    #CCB3F1

    oklch(80.9% 0.09 302.9)

  5. Step 400

    400 (this color)

    #C298FA

    oklch(75.6% 0.143 302.9)

  6. Step 500

    500

    #A068E3

    oklch(63.2% 0.182 302.5)

  7. Step 600

    600

    #8C4BD0

    oklch(55.6% 0.198 302.9)

  8. Step 700

    700

    #773BB4

    oklch(49.1% 0.184 302.9)

  9. Step 800

    800

    #613292

    oklch(42.8% 0.152 303)

  10. Step 900

    900

    #4F2D74

    oklch(37.7% 0.119 303.2)

  11. Step 950

    950

    #2E1B44

    oklch(26.9% 0.076 303.1)

Export this scale for Tailwind in the Tailwind colors tool

#C298FA 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)#80AAFE0.094
Deuteranopia (no green cones)#89ABF70.088
Tritanopia (no blue cones)#B9A8BD0.110
Achromatopsia (no color)#ABABAB0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #C298FA

    #C298FA

    oklch(75.6% 0.143 302.9)

  • #9FBE4E

    #9FBE4E

    oklch(75.6% 0.143 122.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C298FA

    #C298FA

    oklch(75.6% 0.143 302.9)

  • #95AAFF

    #95AAFF

    oklch(75.6% 0.125 272.5)

  • #E58CD7

    #E58CD7

    oklch(75.7% 0.143 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #C298FA

    #C298FA

    oklch(75.6% 0.143 302.9)

  • #CFAC2B

    #CFAC2B

    oklch(75.5% 0.143 92.6)

  • #5DCA83

    #5DCA83

    oklch(75.7% 0.144 152.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C298FA

    #C298FA

    oklch(75.6% 0.143 302.9)

  • #EF9942

    #EF9942

    oklch(75.5% 0.143 62.5)

  • #00CBB8

    #00CBB8

    oklch(75.6% 0.135 183.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C298FA

    #C298FA

    oklch(75.6% 0.143 302.9)

  • #FD8B73

    #FD8B73

    oklch(75.6% 0.143 33)

  • #9FBE4E

    #9FBE4E

    oklch(75.6% 0.143 122.9)

  • #00C5E1

    #00C5E1

    oklch(75.6% 0.132 212.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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