#9799DB

Closest named color: Perrywinkle (#8F8CE7). oklch(70.7% 0.096 282.3), rgb(151, 153, 219).

Aa

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

About this color

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

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

Values

HEX#9799DB
RGBrgb(151, 153, 219)
HSLhsl(238, 49%, 73%)
OKLCHoklch(70.7% 0.096 282.3)

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 #9799DB 2.65:1 Fails Lc -56.9 Large or bold text, headings
Black text on #9799DB 7.89:1 AAA Lc 52.3 Large or bold text, headings
#9799DB text on white 2.65:1 Fails Lc 51.7 Large or bold text, headings
#9799DB text on black 7.89:1 AAA Lc -50.2 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

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D5D7EF

    oklch(88.5% 0.033 281.9)

  4. Step 300

    300

    #BABCE7

    oklch(80.8% 0.06 282.9)

  5. Step 400

    400 (this color)

    #9799DB

    oklch(70.7% 0.096 282.3)

  6. Step 500

    500

    #7F7FD1

    oklch(63.2% 0.122 282.3)

  7. Step 600

    600

    #6967BE

    oklch(55.7% 0.132 282.3)

  8. Step 700

    700

    #5755A4

    oklch(49.1% 0.124 282)

  9. Step 800

    800

    #474685

    oklch(42.7% 0.102 281.9)

  10. Step 900

    900

    #3C3B6B

    oklch(37.7% 0.081 282.8)

  11. Step 950

    950

    #23233E

    oklch(27% 0.05 282.6)

Export this scale for Tailwind in the Tailwind colors tool

#9799DB 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)#86A1DE0.028
Deuteranopia (no green cones)#839CD90.027
Tritanopia (no blue cones)#86A5B10.083
Achromatopsia (no color)#9F9F9F0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #9799DB

    #9799DB

    oklch(70.7% 0.096 282.3)

  • #ACA359

    #ACA359

    oklch(70.7% 0.096 102.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9799DB

    #9799DB

    oklch(70.7% 0.096 282.3)

  • #74A4DB

    #74A4DB

    oklch(70.6% 0.096 252.5)

  • #B58FCC

    #B58FCC

    oklch(70.7% 0.096 312.3)

Open the analogous palette in the generator

Split complementary

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

  • #9799DB

    #9799DB

    oklch(70.7% 0.096 282.3)

  • #C5975A

    #C5975A

    oklch(70.7% 0.096 73)

  • #8AAD6E

    #8AAD6E

    oklch(70.6% 0.095 132.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9799DB

    #9799DB

    oklch(70.7% 0.096 282.3)

  • #D38C70

    #D38C70

    oklch(70.5% 0.096 42.3)

  • #64B38E

    #64B38E

    oklch(70.5% 0.096 162.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9799DB

    #9799DB

    oklch(70.7% 0.096 282.3)

  • #D58790

    #D58790

    oklch(70.6% 0.096 12.3)

  • #ACA359

    #ACA359

    oklch(70.7% 0.096 102.4)

  • #4BB3B0

    #4BB3B0

    oklch(70.6% 0.095 192.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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