#C397EB

Closest named color: Baby Purple (#CA9BF7). oklch(74.8% 0.126 307.6), rgb(195, 151, 235).

Aa

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

About this color

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

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

Values

HEX#C397EB
RGBrgb(195, 151, 235)
HSLhsl(271, 68%, 76%)
OKLCHoklch(74.8% 0.126 307.6)

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 #C397EB 2.34:1 Fails Lc -51.1 Large or bold text, headings
Black text on #C397EB 8.94:1 AAA Lc 57.8 Large or bold text, headings
#C397EB text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#C397EB text on black 8.94:1 AAA Lc -55.9 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)

    #C397EB

    oklch(74.8% 0.126 307.6)

  6. Step 500

    500

    #A46BD4

    oklch(63.2% 0.161 307.5)

  7. Step 600

    600

    #8F50C1

    oklch(55.6% 0.175 307.4)

  8. Step 700

    700

    #7A3FA6

    oklch(49% 0.163 307.9)

  9. Step 800

    800

    #633587

    oklch(42.7% 0.135 307.5)

  10. Step 900

    900

    #512F6C

    oklch(37.7% 0.106 307.9)

  11. Step 950

    950

    #2F1C3F

    oklch(26.9% 0.067 307.6)

Export this scale for Tailwind in the Tailwind colors tool

#C397EB 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.089
Deuteranopia (no green cones)#90AAE90.083
Tritanopia (no blue cones)#BEA3B60.093
Achromatopsia (no color)#A9A9A90.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #C397EB

    #C397EB

    oklch(74.8% 0.126 307.6)

  • #97BC61

    #97BC61

    oklch(74.8% 0.126 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C397EB

    #C397EB

    oklch(74.8% 0.126 307.6)

  • #9AA5FC

    #9AA5FC

    oklch(74.8% 0.126 277.4)

  • #E08DC9

    #E08DC9

    oklch(74.7% 0.126 337.7)

Open the analogous palette in the generator

Split complementary

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

  • #C397EB

    #C397EB

    oklch(74.8% 0.126 307.6)

  • #C3AD44

    #C3AD44

    oklch(74.7% 0.126 97.4)

  • #5FC58E

    #5FC58E

    oklch(74.8% 0.126 157.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C397EB

    #C397EB

    oklch(74.8% 0.126 307.6)

  • #E29D4D

    #E29D4D

    oklch(74.8% 0.126 67.7)

  • #1DC6BB

    #1DC6BB

    oklch(74.7% 0.126 187.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C397EB

    #C397EB

    oklch(74.8% 0.126 307.6)

  • #F18F72

    #F18F72

    oklch(74.7% 0.126 37.3)

  • #97BC61

    #97BC61

    oklch(74.8% 0.126 127.4)

  • #2AC0E2

    #2AC0E2

    oklch(74.8% 0.126 217.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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