#9798CE

Closest named color: Pale Purple (#B790D4). oklch(69.9% 0.079 283.3), rgb(151, 152, 206).

Aa

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

About this color

#9798CE is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.079 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.052 away. Black text reads best on it, at 7.69:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest namePale Purple (#B790D4)
Black text7.69:1
White text2.72:1

Values

HEX#9798CE
RGBrgb(151, 152, 206)
HSLhsl(239, 36%, 70%)
OKLCHoklch(69.9% 0.079 283.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 #9798CE 2.72:1 Fails Lc -58.0 Large or bold text, headings
Black text on #9798CE 7.69:1 AAA Lc 51.2 Large or bold text, headings
#9798CE text on white 2.72:1 Fails Lc 52.8 Large or bold text, headings
#9798CE text on black 7.69:1 AAA Lc -49.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

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D7EB

    oklch(88.4% 0.027 283.5)

  4. Step 300

    300

    #BCBDE0

    oklch(80.9% 0.049 284)

  5. Step 400

    400 (this color)

    #9798CE

    oklch(69.9% 0.079 283.3)

  6. Step 500

    500

    #8181C4

    oklch(63.1% 0.1 283.2)

  7. Step 600

    600

    #6B6AB1

    oklch(55.7% 0.109 282.9)

  8. Step 700

    700

    #5A5898

    oklch(49.2% 0.101 283.5)

  9. Step 800

    800

    #49487B

    oklch(42.7% 0.083 283.2)

  10. Step 900

    900

    #3D3D63

    oklch(37.8% 0.064 282.9)

  11. Step 950

    950

    #24243A

    oklch(27.1% 0.041 283.4)

Export this scale for Tailwind in the Tailwind colors tool

#9798CE 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)#899ED00.023
Deuteranopia (no green cones)#879BCD0.022
Tritanopia (no blue cones)#8AA2AB0.069
Achromatopsia (no color)#9D9D9D0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #9798CE

    #9798CE

    oklch(69.9% 0.079 283.3)

  • #A6A166

    #A6A166

    oklch(69.9% 0.079 104.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9798CE

    #9798CE

    oklch(69.9% 0.079 283.3)

  • #7BA1CE

    #7BA1CE

    oklch(69.8% 0.079 253.1)

  • #B090C1

    #B090C1

    oklch(69.9% 0.079 313.7)

Open the analogous palette in the generator

Split complementary

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

  • #9798CE

    #9798CE

    oklch(69.9% 0.079 283.3)

  • #BC9766

    #BC9766

    oklch(69.9% 0.079 73.7)

  • #8BA976

    #8BA976

    oklch(69.9% 0.079 132.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9798CE

    #9798CE

    oklch(69.9% 0.079 283.3)

  • #C88E76

    #C88E76

    oklch(69.8% 0.079 43.4)

  • #6FAE90

    #6FAE90

    oklch(69.9% 0.079 162.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9798CE

    #9798CE

    oklch(69.9% 0.079 283.3)

  • #CA8A90

    #CA8A90

    oklch(69.9% 0.079 13.1)

  • #A6A166

    #A6A166

    oklch(69.9% 0.079 104.1)

  • #5EAEAC

    #5EAEAC

    oklch(70% 0.079 193.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9798CE 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.