#C0A2FB

Closest named color: Pastel Purple (#CAA0FF). oklch(77.2% 0.128 298.9), rgb(192, 162, 251).

Aa

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

About this color

#C0A2FB is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.128 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.017 away. Black text reads best on it, at 9.80:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text9.80:1
White text2.14:1

Values

HEX#C0A2FB
RGBrgb(192, 162, 251)
HSLhsl(260, 92%, 81%)
OKLCHoklch(77.2% 0.128 298.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 #C0A2FB 2.14:1 Fails Lc -46.6 Large or bold text, headings
Black text on #C0A2FB 9.80:1 AAA Lc 62.0 Content text, not long reading
#C0A2FB text on white 2.14:1 Fails Lc 42.0 Non-text elements, placeholder text
#C0A2FB text on black 9.80:1 AAA Lc -60.2 Content text, not long reading

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 300.

  1. Step 50

    50

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EDE5FF

    oklch(93.6% 0.036 299.7)

  3. Step 200

    200

    #DED0FF

    oklch(88.4% 0.066 298.7)

  4. Step 300

    300 (this color)

    #C0A2FB

    oklch(77.2% 0.128 298.9)

  5. Step 400

    400

    #B183FF

    oklch(70.7% 0.179 298.9)

  6. Step 500

    500

    #A05BFF

    oklch(63.1% 0.232 298.9)

  7. Step 600

    600

    #901DFD

    oklch(55.6% 0.284 298.8)

  8. Step 700

    700

    #7B00DC

    oklch(49% 0.263 298.9)

  9. Step 800

    800

    #6410B2

    oklch(42.7% 0.219 299)

  10. Step 900

    900

    #511C8D

    oklch(37.7% 0.171 299)

  11. Step 950

    950

    #2F1452

    oklch(27% 0.107 299)

Export this scale for Tailwind in the Tailwind colors tool

#C0A2FB 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)#8CB1FE0.074
Deuteranopia (no green cones)#91B0F90.070
Tritanopia (no blue cones)#B5B1C30.102
Achromatopsia (no color)#B1B1B10.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0A2FB

    #C0A2FB

    oklch(77.2% 0.128 298.9)

  • #ACC05D

    #ACC05D

    oklch(77.1% 0.127 118.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0A2FB

    #C0A2FB

    oklch(77.2% 0.128 298.9)

  • #97B2FF

    #97B2FF

    oklch(77.3% 0.115 268.9)

  • #E296DD

    #E296DD

    oklch(77.2% 0.129 329)

Open the analogous palette in the generator

Split complementary

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

  • #C0A2FB

    #C0A2FB

    oklch(77.2% 0.128 298.9)

  • #D6B049

    #D6B049

    oklch(77.2% 0.128 88.6)

  • #77CB87

    #77CB87

    oklch(77.1% 0.127 148.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0A2FB

    #C0A2FB

    oklch(77.2% 0.128 298.9)

  • #F1A05C

    #F1A05C

    oklch(77.3% 0.128 59.2)

  • #39CFB6

    #39CFB6

    oklch(77.2% 0.128 178.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0A2FB

    #C0A2FB

    oklch(77.2% 0.128 298.9)

  • #FC9485

    #FC9485

    oklch(77.2% 0.128 29.1)

  • #ACC05D

    #ACC05D

    oklch(77.1% 0.127 118.9)

  • #23CBE0

    #23CBE0

    oklch(77.3% 0.128 208.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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