#9799D8

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

Aa

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

About this color

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

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

Values

HEX#9799D8
RGBrgb(151, 153, 216)
HSLhsl(238, 45%, 72%)
OKLCHoklch(70.5% 0.092 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 #9799D8 2.67:1 Fails Lc -57.1 Large or bold text, headings
Black text on #9799D8 7.86:1 AAA Lc 52.1 Large or bold text, headings
#9799D8 text on white 2.67:1 Fails Lc 51.9 Large or bold text, headings
#9799D8 text on black 7.86:1 AAA Lc -50.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

    #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)

    #9799D8

    oklch(70.5% 0.092 282.4)

  6. Step 500

    500

    #7F7FCE

    oklch(63% 0.118 282.5)

  7. Step 600

    600

    #6967BB

    oklch(55.5% 0.128 282.5)

  8. Step 700

    700

    #5856A1

    oklch(49.2% 0.118 282.4)

  9. Step 800

    800

    #484683

    oklch(42.7% 0.099 282.8)

  10. Step 900

    900

    #3C3C69

    oklch(37.8% 0.076 282.2)

  11. Step 950

    950

    #23233D

    oklch(27% 0.048 282.7)

Export this scale for Tailwind in the Tailwind colors tool

#9799D8 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)#87A1DB0.027
Deuteranopia (no green cones)#849CD60.026
Tritanopia (no blue cones)#87A4AF0.080
Achromatopsia (no color)#9E9E9E0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #9799D8

    #9799D8

    oklch(70.5% 0.092 282.4)

  • #ABA25D

    #ABA25D

    oklch(70.4% 0.091 101.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9799D8

    #9799D8

    oklch(70.5% 0.092 282.4)

  • #76A4D8

    #76A4D8

    oklch(70.6% 0.091 252.1)

  • #B48FC9

    #B48FC9

    oklch(70.5% 0.092 313)

Open the analogous palette in the generator

Split complementary

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

  • #9799D8

    #9799D8

    oklch(70.5% 0.092 282.4)

  • #C3975E

    #C3975E

    oklch(70.5% 0.091 72.6)

  • #8AAC70

    #8AAC70

    oklch(70.4% 0.092 132.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9799D8

    #9799D8

    oklch(70.5% 0.092 282.4)

  • #D18D72

    #D18D72

    oklch(70.5% 0.092 42.5)

  • #67B28F

    #67B28F

    oklch(70.5% 0.092 162.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9799D8

    #9799D8

    oklch(70.5% 0.092 282.4)

  • #D28890

    #D28890

    oklch(70.5% 0.091 12.6)

  • #ABA25D

    #ABA25D

    oklch(70.4% 0.091 101.9)

  • #50B2AF

    #50B2AF

    oklch(70.5% 0.092 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 #9799D8, closest first.

Similar named colors

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

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