#9795CB

Closest named color: Cool Gray (#8D99AE). oklch(69.1% 0.079 285.8), rgb(151, 149, 203).

Aa

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

About this color

#9795CB is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.079 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Gray (#8D99AE), ΔE 0.051 away. Black text reads best on it, at 7.47:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameCool Gray (#8D99AE)
Black text7.47:1
White text2.80:1

Values

HEX#9795CB
RGBrgb(151, 149, 203)
HSLhsl(242, 34%, 69%)
OKLCHoklch(69.1% 0.079 285.8)

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 #9795CB 2.80:1 Fails Lc -59.3 Large or bold text, headings
Black text on #9795CB 7.47:1 AAA Lc 50.0 Large or bold text, headings
#9795CB text on white 2.80:1 Fails Lc 54.0 Large or bold text, headings
#9795CB text on black 7.47:1 AAA Lc -47.8 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

    #E9E9F3

    oklch(93.7% 0.013 286.1)

  3. Step 200

    200

    #D7D7EB

    oklch(88.5% 0.027 285.8)

  4. Step 300

    300

    #BDBDE0

    oklch(81% 0.049 285.3)

  5. Step 400

    400 (this color)

    #9795CB

    oklch(69.1% 0.079 285.8)

  6. Step 500

    500

    #8480C4

    oklch(63.1% 0.101 285.8)

  7. Step 600

    600

    #6E69B0

    oklch(55.7% 0.108 285.5)

  8. Step 700

    700

    #5C5797

    oklch(49.1% 0.101 285.6)

  9. Step 800

    800

    #4B477B

    oklch(42.6% 0.085 285.7)

  10. Step 900

    900

    #3F3C63

    oklch(37.7% 0.066 286.3)

  11. Step 950

    950

    #25233A

    oklch(27% 0.042 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#9795CB 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)#879CCD0.026
Deuteranopia (no green cones)#8599CA0.026
Tritanopia (no blue cones)#8B9EA80.068
Achromatopsia (no color)#9A9A9A0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #9795CB

    #9795CB

    oklch(69.1% 0.079 285.8)

  • #A29F65

    #A29F65

    oklch(69.1% 0.078 105.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9795CB

    #9795CB

    oklch(69.1% 0.079 285.8)

  • #7B9ECC

    #7B9ECC

    oklch(69.1% 0.079 255.5)

  • #AF8DBD

    #AF8DBD

    oklch(69.1% 0.079 315.9)

Open the analogous palette in the generator

Split complementary

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

  • #9795CB

    #9795CB

    oklch(69.1% 0.079 285.8)

  • #B89563

    #B89563

    oklch(69.1% 0.079 75.7)

  • #86A776

    #86A776

    oklch(69.1% 0.078 135.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9795CB

    #9795CB

    oklch(69.1% 0.079 285.8)

  • #C58D72

    #C58D72

    oklch(69.2% 0.079 46.7)

  • #6AAC90

    #6AAC90

    oklch(69.2% 0.08 165.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9795CB

    #9795CB

    oklch(69.1% 0.079 285.8)

  • #C8888B

    #C8888B

    oklch(69.2% 0.079 16.2)

  • #A29F65

    #A29F65

    oklch(69.1% 0.078 105.7)

  • #5BABAC

    #5BABAC

    oklch(69.1% 0.079 196.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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