#9799D7

Closest named color: Perrywinkle (#8F8CE7). oklch(70.5% 0.09 282.4), rgb(151, 153, 215).

Aa

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

About this color

#9799D7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.090 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.048 away. Black text reads best on it, at 7.85:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.85:1
White text2.67:1

Values

HEX#9799D7
RGBrgb(151, 153, 215)
HSLhsl(238, 44%, 72%)
OKLCHoklch(70.5% 0.09 282.4)

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 #9799D7 2.67:1 Fails Lc -57.1 Large or bold text, headings
Black text on #9799D7 7.85:1 AAA Lc 52.1 Large or bold text, headings
#9799D7 text on white 2.67:1 Fails Lc 51.9 Large or bold text, headings
#9799D7 text on black 7.85:1 AAA Lc -49.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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D5D7EE

    oklch(88.5% 0.032 281.8)

  4. Step 300

    300

    #BABDE5

    oklch(80.9% 0.056 281.7)

  5. Step 400

    400 (this color)

    #9799D7

    oklch(70.5% 0.09 282.4)

  6. Step 500

    500

    #7F80CD

    oklch(63.2% 0.115 282)

  7. Step 600

    600

    #6968BA

    oklch(55.6% 0.125 282.1)

  8. Step 700

    700

    #5856A0

    oklch(49.1% 0.116 282.5)

  9. Step 800

    800

    #484782

    oklch(42.8% 0.096 282.3)

  10. Step 900

    900

    #3C3C68

    oklch(37.8% 0.074 282.3)

  11. Step 950

    950

    #23233D

    oklch(27% 0.048 282.7)

Export this scale for Tailwind in the Tailwind colors tool

#9799D7 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)#87A0DA0.026
Deuteranopia (no green cones)#859CD50.025
Tritanopia (no blue cones)#87A4AF0.079
Achromatopsia (no color)#9E9E9E0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #9799D7

    #9799D7

    oklch(70.5% 0.09 282.4)

  • #ABA25E

    #ABA25E

    oklch(70.5% 0.09 101.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9799D7

    #9799D7

    oklch(70.5% 0.09 282.4)

  • #76A3D7

    #76A3D7

    oklch(70.3% 0.091 252.6)

  • #B390C9

    #B390C9

    oklch(70.6% 0.09 312)

Open the analogous palette in the generator

Split complementary

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

  • #9799D7

    #9799D7

    oklch(70.5% 0.09 282.4)

  • #C3975F

    #C3975F

    oklch(70.5% 0.09 72.2)

  • #8BAC71

    #8BAC71

    oklch(70.5% 0.09 132.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9799D7

    #9799D7

    oklch(70.5% 0.09 282.4)

  • #D08D73

    #D08D73

    oklch(70.4% 0.09 42)

  • #68B28F

    #68B28F

    oklch(70.5% 0.091 162.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9799D7

    #9799D7

    oklch(70.5% 0.09 282.4)

  • #D28890

    #D28890

    oklch(70.5% 0.091 12.6)

  • #ABA25E

    #ABA25E

    oklch(70.5% 0.09 101.8)

  • #52B2AF

    #52B2AF

    oklch(70.5% 0.09 192.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9799D7 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.