#9795CF

Closest named color: Perrywinkle (#8F8CE7). oklch(69.3% 0.085 285.5), rgb(151, 149, 207).

Aa

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

About this color

#9795CF is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.085 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.050 away. Black text reads best on it, at 7.51:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.51:1
White text2.79:1

Values

HEX#9795CF
RGBrgb(151, 149, 207)
HSLhsl(242, 38%, 70%)
OKLCHoklch(69.3% 0.085 285.5)

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 #9795CF 2.79:1 Fails Lc -59.0 Large or bold text, headings
Black text on #9795CF 7.51:1 AAA Lc 50.3 Large or bold text, headings
#9795CF text on white 2.79:1 Fails Lc 53.8 Large or bold text, headings
#9795CF text on black 7.51:1 AAA Lc -48.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D7D7EC

    oklch(88.6% 0.029 285.8)

  4. Step 300

    300

    #BDBCE2

    oklch(80.9% 0.053 286.3)

  5. Step 400

    400 (this color)

    #9795CF

    oklch(69.3% 0.085 285.5)

  6. Step 500

    500

    #847FC8

    oklch(63.1% 0.108 286)

  7. Step 600

    600

    #6E68B5

    oklch(55.7% 0.117 285.5)

  8. Step 700

    700

    #5C569B

    oklch(49.1% 0.108 285.7)

  9. Step 800

    800

    #4B467E

    oklch(42.6% 0.091 285.9)

  10. Step 900

    900

    #3E3B65

    oklch(37.6% 0.071 285.7)

  11. Step 950

    950

    #24233B

    oklch(26.9% 0.044 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#9795CF 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)#859CD10.028
Deuteranopia (no green cones)#8499CD0.027
Tritanopia (no blue cones)#8A9FA90.074
Achromatopsia (no color)#9B9B9B0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #9795CF

    #9795CF

    oklch(69.3% 0.085 285.5)

  • #A3A060

    #A3A060

    oklch(69.3% 0.085 106.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9795CF

    #9795CF

    oklch(69.3% 0.085 285.5)

  • #799FD0

    #799FD0

    oklch(69.3% 0.084 255.1)

  • #B18CC0

    #B18CC0

    oklch(69.3% 0.085 316)

Open the analogous palette in the generator

Split complementary

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

  • #9795CF

    #9795CF

    oklch(69.3% 0.085 285.5)

  • #BB955F

    #BB955F

    oklch(69.3% 0.085 75.4)

  • #85A973

    #85A973

    oklch(69.4% 0.086 135.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9795CF

    #9795CF

    oklch(69.3% 0.085 285.5)

  • #C98C70

    #C98C70

    oklch(69.4% 0.085 45.5)

  • #66AD90

    #66AD90

    oklch(69.2% 0.084 165.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9795CF

    #9795CF

    oklch(69.3% 0.085 285.5)

  • #CB878B

    #CB878B

    oklch(69.3% 0.084 15.6)

  • #A3A060

    #A3A060

    oklch(69.3% 0.085 106.1)

  • #55ADAD

    #55ADAD

    oklch(69.4% 0.085 195.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9795CF 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.