#9799DF

Closest named color: Perrywinkle (#8F8CE7). oklch(70.8% 0.102 282.2), rgb(151, 153, 223).

Aa

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

About this color

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

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

Values

HEX#9799DF
RGBrgb(151, 153, 223)
HSLhsl(238, 53%, 73%)
OKLCHoklch(70.8% 0.102 282.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 #9799DF 2.64:1 Fails Lc -56.6 Large or bold text, headings
Black text on #9799DF 7.93:1 AAA Lc 52.5 Large or bold text, headings
#9799DF text on white 2.64:1 Fails Lc 51.5 Large or bold text, headings
#9799DF text on black 7.93:1 AAA Lc -50.4 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

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D5D7F1

    oklch(88.6% 0.036 282.1)

  4. Step 300

    300

    #BABCE9

    oklch(80.9% 0.063 282.9)

  5. Step 400

    400 (this color)

    #9799DF

    oklch(70.8% 0.102 282.2)

  6. Step 500

    500

    #7E7ED5

    oklch(63.1% 0.129 282.1)

  7. Step 600

    600

    #6865C3

    oklch(55.5% 0.142 282.2)

  8. Step 700

    700

    #5754A8

    oklch(49.1% 0.131 282.1)

  9. Step 800

    800

    #474588

    oklch(42.7% 0.108 282.1)

  10. Step 900

    900

    #3B3B6D

    oklch(37.8% 0.084 281.6)

  11. Step 950

    950

    #232340

    oklch(27.2% 0.053 282.3)

Export this scale for Tailwind in the Tailwind colors tool

#9799DF 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)#84A2E20.031
Deuteranopia (no green cones)#819DDD0.030
Tritanopia (no blue cones)#84A6B20.089
Achromatopsia (no color)#9F9F9F0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #9799DF

    #9799DF

    oklch(70.8% 0.102 282.2)

  • #ADA354

    #ADA354

    oklch(70.7% 0.101 102.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9799DF

    #9799DF

    oklch(70.8% 0.102 282.2)

  • #71A5DF

    #71A5DF

    oklch(70.9% 0.102 252)

  • #B78ECF

    #B78ECF

    oklch(70.8% 0.103 312.6)

Open the analogous palette in the generator

Split complementary

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

  • #9799DF

    #9799DF

    oklch(70.8% 0.102 282.2)

  • #C89656

    #C89656

    oklch(70.7% 0.101 71.7)

  • #89AF6B

    #89AF6B

    oklch(70.9% 0.103 132.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9799DF

    #9799DF

    oklch(70.8% 0.102 282.2)

  • #D78B6E

    #D78B6E

    oklch(70.8% 0.102 41.6)

  • #60B58E

    #60B58E

    oklch(70.9% 0.102 162.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9799DF

    #9799DF

    oklch(70.8% 0.102 282.2)

  • #D88690

    #D88690

    oklch(70.8% 0.101 12.1)

  • #ADA354

    #ADA354

    oklch(70.7% 0.101 102.1)

  • #42B5B1

    #42B5B1

    oklch(70.8% 0.102 191.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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