#C298EA

Closest named color: Baby Purple (#CA9BF7). oklch(74.8% 0.123 307.1), rgb(194, 152, 234).

Aa

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

About this color

#C298EA is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.123 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.97:1.

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

Values

HEX#C298EA
RGBrgb(194, 152, 234)
HSLhsl(271, 66%, 76%)
OKLCHoklch(74.8% 0.123 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 #C298EA 2.34:1 Fails Lc -51.0 Large or bold text, headings
Black text on #C298EA 8.97:1 AAA Lc 57.9 Large or bold text, headings
#C298EA text on white 2.34:1 Fails Lc 46.1 Large or bold text, headings
#C298EA text on black 8.97:1 AAA Lc -56.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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E0D2F0

    oklch(88.4% 0.043 306.5)

  4. Step 300

    300

    #CEB4E8

    oklch(80.9% 0.077 307.4)

  5. Step 400

    400 (this color)

    #C298EA

    oklch(74.8% 0.123 307.1)

  6. Step 500

    500

    #A36CD2

    oklch(63.1% 0.157 307.4)

  7. Step 600

    600

    #8E51BF

    oklch(55.5% 0.171 307.3)

  8. Step 700

    700

    #7941A5

    oklch(49.1% 0.159 307.4)

  9. Step 800

    800

    #623686

    oklch(42.6% 0.132 307)

  10. Step 900

    900

    #50306B

    oklch(37.7% 0.102 307.2)

  11. Step 950

    950

    #2F1D3F

    oklch(27.1% 0.065 307)

Export this scale for Tailwind in the Tailwind colors tool

#C298EA 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)#87A8ED0.086
Deuteranopia (no green cones)#90AAE80.080
Tritanopia (no blue cones)#BDA4B60.091
Achromatopsia (no color)#A9A9A90.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #C298EA

    #C298EA

    oklch(74.8% 0.123 307.1)

  • #98BC63

    #98BC63

    oklch(74.9% 0.124 127.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C298EA

    #C298EA

    oklch(74.8% 0.123 307.1)

  • #9AA6FA

    #9AA6FA

    oklch(74.9% 0.122 276.8)

  • #DF8ECA

    #DF8ECA

    oklch(74.8% 0.124 336.9)

Open the analogous palette in the generator

Split complementary

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

  • #C298EA

    #C298EA

    oklch(74.8% 0.123 307.1)

  • #C3AD48

    #C3AD48

    oklch(74.7% 0.123 97)

  • #63C58E

    #63C58E

    oklch(74.9% 0.123 157)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C298EA

    #C298EA

    oklch(74.8% 0.123 307.1)

  • #E19D51

    #E19D51

    oklch(74.8% 0.123 66.9)

  • #2AC6BB

    #2AC6BB

    oklch(74.8% 0.123 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C298EA

    #C298EA

    oklch(74.8% 0.123 307.1)

  • #F09074

    #F09074

    oklch(74.8% 0.124 37.1)

  • #98BC63

    #98BC63

    oklch(74.9% 0.124 127.2)

  • #32C0E0

    #32C0E0

    oklch(74.9% 0.123 217.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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