#C398EF

Closest named color: Baby Purple (#CA9BF7). oklch(75.2% 0.129 306.2), rgb(195, 152, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.05:1
White text2.31:1

Values

HEX#C398EF
RGBrgb(195, 152, 239)
HSLhsl(270, 73%, 77%)
OKLCHoklch(75.2% 0.129 306.2)

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 #C398EF 2.31:1 Fails Lc -50.5 Large or bold text, headings
Black text on #C398EF 9.05:1 AAA Lc 58.4 Large or bold text, headings
#C398EF text on white 2.31:1 Fails Lc 45.6 Large or bold text, headings
#C398EF text on black 9.05:1 AAA Lc -56.5 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

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E0D2F1

    oklch(88.5% 0.045 305.9)

  4. Step 300

    300

    #CEB4EA

    oklch(81% 0.08 306.6)

  5. Step 400

    400 (this color)

    #C398EF

    oklch(75.2% 0.129 306.2)

  6. Step 500

    500

    #A36AD7

    oklch(63.1% 0.166 306.4)

  7. Step 600

    600

    #8E4FC4

    oklch(55.6% 0.179 306.2)

  8. Step 700

    700

    #793FAA

    oklch(49.2% 0.167 306.1)

  9. Step 800

    800

    #623589

    oklch(42.7% 0.137 306.1)

  10. Step 900

    900

    #502F6E

    oklch(37.7% 0.108 306.1)

  11. Step 950

    950

    #2F1C40

    oklch(27% 0.068 306.8)

Export this scale for Tailwind in the Tailwind colors tool

#C398EF 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)#86A9F20.089
Deuteranopia (no green cones)#8FABED0.083
Tritanopia (no blue cones)#BDA5B80.097
Achromatopsia (no color)#AAAAAA0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #C398EF

    #C398EF

    oklch(75.2% 0.129 306.2)

  • #9ABD5E

    #9ABD5E

    oklch(75.2% 0.129 126)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C398EF

    #C398EF

    oklch(75.2% 0.129 306.2)

  • #99A6FF

    #99A6FF

    oklch(75.1% 0.129 276.5)

  • #E28ECD

    #E28ECD

    oklch(75.3% 0.129 336.5)

Open the analogous palette in the generator

Split complementary

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

  • #C398EF

    #C398EF

    oklch(75.2% 0.129 306.2)

  • #C7AE41

    #C7AE41

    oklch(75.3% 0.129 96.1)

  • #60C78C

    #60C78C

    oklch(75.2% 0.13 156.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C398EF

    #C398EF

    oklch(75.2% 0.129 306.2)

  • #E59D4C

    #E59D4C

    oklch(75.2% 0.129 66.6)

  • #14C8BB

    #14C8BB

    oklch(75.1% 0.129 186.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C398EF

    #C398EF

    oklch(75.2% 0.129 306.2)

  • #F48F73

    #F48F73

    oklch(75.1% 0.129 36.3)

  • #9ABD5E

    #9ABD5E

    oklch(75.2% 0.129 126)

  • #1DC2E3

    #1DC2E3

    oklch(75.2% 0.13 216.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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