#9799DA

Closest named color: Perrywinkle (#8F8CE7). oklch(70.6% 0.095 282.3), rgb(151, 153, 218).

Aa

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

About this color

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

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

Values

HEX#9799DA
RGBrgb(151, 153, 218)
HSLhsl(238, 48%, 72%)
OKLCHoklch(70.6% 0.095 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 #9799DA 2.66:1 Fails Lc -57.0 Large or bold text, headings
Black text on #9799DA 7.88:1 AAA Lc 52.3 Large or bold text, headings
#9799DA text on white 2.66:1 Fails Lc 51.8 Large or bold text, headings
#9799DA text on black 7.88:1 AAA Lc -50.1 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

    #D5D7EF

    oklch(88.5% 0.033 281.9)

  4. Step 300

    300

    #BABDE7

    oklch(81% 0.059 281.8)

  5. Step 400

    400 (this color)

    #9799DA

    oklch(70.6% 0.095 282.3)

  6. Step 500

    500

    #7F7FD0

    oklch(63.1% 0.12 282.4)

  7. Step 600

    600

    #6967BD

    oklch(55.6% 0.131 282.3)

  8. Step 700

    700

    #5855A3

    oklch(49.1% 0.122 282.7)

  9. Step 800

    800

    #474684

    oklch(42.6% 0.101 282)

  10. Step 900

    900

    #3C3B6A

    oklch(37.7% 0.079 282.9)

  11. Step 950

    950

    #23233E

    oklch(27% 0.05 282.6)

Export this scale for Tailwind in the Tailwind colors tool

#9799DA 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)#86A1DD0.028
Deuteranopia (no green cones)#839CD80.027
Tritanopia (no blue cones)#86A5B00.083
Achromatopsia (no color)#9E9E9E0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #9799DA

    #9799DA

    oklch(70.6% 0.095 282.3)

  • #ACA35A

    #ACA35A

    oklch(70.7% 0.095 102.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9799DA

    #9799DA

    oklch(70.6% 0.095 282.3)

  • #75A4DA

    #75A4DA

    oklch(70.6% 0.094 252.5)

  • #B48FCB

    #B48FCB

    oklch(70.5% 0.095 312.1)

Open the analogous palette in the generator

Split complementary

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

  • #9799DA

    #9799DA

    oklch(70.6% 0.095 282.3)

  • #C5975B

    #C5975B

    oklch(70.7% 0.095 72.6)

  • #8AAD6F

    #8AAD6F

    oklch(70.6% 0.094 132.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9799DA

    #9799DA

    oklch(70.6% 0.095 282.3)

  • #D38D71

    #D38D71

    oklch(70.7% 0.095 42.6)

  • #65B38F

    #65B38F

    oklch(70.6% 0.095 162.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9799DA

    #9799DA

    oklch(70.6% 0.095 282.3)

  • #D48790

    #D48790

    oklch(70.5% 0.095 12.2)

  • #ACA35A

    #ACA35A

    oklch(70.7% 0.095 102.3)

  • #4DB3B0

    #4DB3B0

    oklch(70.6% 0.094 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 #9799DA, closest first.

Similar named colors

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

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