#9795DD

Closest named color: Perrywinkle (#8F8CE7). oklch(70% 0.105 284.6), rgb(151, 149, 221).

Aa

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

About this color

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

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

Values

HEX#9795DD
RGBrgb(151, 149, 221)
HSLhsl(242, 51%, 73%)
OKLCHoklch(70% 0.105 284.6)

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 #9795DD 2.74:1 Fails Lc -58.2 Large or bold text, headings
Black text on #9795DD 7.65:1 AAA Lc 51.1 Large or bold text, headings
#9795DD text on white 2.74:1 Fails Lc 53.0 Large or bold text, headings
#9795DD text on black 7.65:1 AAA Lc -48.9 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

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D6D6F1

    oklch(88.4% 0.037 285.6)

  4. Step 300

    300

    #BBBBEA

    oklch(80.8% 0.066 284.8)

  5. Step 400

    400 (this color)

    #9795DD

    oklch(70% 0.105 284.6)

  6. Step 500

    500

    #827CD7

    oklch(63.2% 0.134 284.9)

  7. Step 600

    600

    #6C63C4

    oklch(55.5% 0.146 284.8)

  8. Step 700

    700

    #5A52A9

    oklch(49.1% 0.135 284.4)

  9. Step 800

    800

    #4A4489

    oklch(42.8% 0.111 284.6)

  10. Step 900

    900

    #3D3A6E

    oklch(37.8% 0.087 284)

  11. Step 950

    950

    #242240

    oklch(27% 0.055 285.1)

Export this scale for Tailwind in the Tailwind colors tool

#9795DD 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)#809EE00.035
Deuteranopia (no green cones)#7E9ADB0.035
Tritanopia (no blue cones)#85A2AF0.090
Achromatopsia (no color)#9C9C9C0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #9795DD

    #9795DD

    oklch(70% 0.105 284.6)

  • #A8A250

    #A8A250

    oklch(70% 0.105 105)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9795DD

    #9795DD

    oklch(70% 0.105 284.6)

  • #70A1DE

    #70A1DE

    oklch(69.9% 0.105 254.4)

  • #B78ACB

    #B78ACB

    oklch(69.9% 0.105 315.1)

Open the analogous palette in the generator

Split complementary

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

  • #9795DD

    #9795DD

    oklch(70% 0.105 284.6)

  • #C5944F

    #C5944F

    oklch(69.9% 0.105 74)

  • #82AD69

    #82AD69

    oklch(70% 0.105 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9795DD

    #9795DD

    oklch(70% 0.105 284.6)

  • #D58967

    #D58967

    oklch(70.1% 0.105 44.7)

  • #57B38E

    #57B38E

    oklch(70% 0.105 164.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9795DD

    #9795DD

    oklch(70% 0.105 284.6)

  • #D7838A

    #D7838A

    oklch(70% 0.104 14.7)

  • #A8A250

    #A8A250

    oklch(70% 0.105 105)

  • #38B2B2

    #38B2B2

    oklch(69.8% 0.105 195)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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