#948EE2

Closest named color: Perrywinkle (#8F8CE7). oklch(68.6% 0.122 286), rgb(148, 142, 226).

Aa

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

About this color

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

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

Values

HEX#948EE2
RGBrgb(148, 142, 226)
HSLhsl(244, 59%, 72%)
OKLCHoklch(68.6% 0.122 286)

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 #948EE2 2.90:1 Fails Lc -60.6 Content text, not long reading
Black text on #948EE2 7.22:1 AAA Lc 48.7 Large or bold text, headings
#948EE2 text on white 2.90:1 Fails Lc 55.3 Large or bold text, headings
#948EE2 text on black 7.22:1 AAA Lc -46.5 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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D6D6F5

    oklch(88.6% 0.042 285.5)

  4. Step 300

    300

    #BCBAF0

    oklch(80.9% 0.076 286.3)

  5. Step 400

    400 (this color)

    #948EE2

    oklch(68.6% 0.122 286)

  6. Step 500

    500

    #8378E2

    oklch(63.1% 0.155 285.8)

  7. Step 600

    600

    #6E5ED0

    oklch(55.6% 0.169 285.9)

  8. Step 700

    700

    #5C4DB4

    oklch(49.1% 0.157 285.7)

  9. Step 800

    800

    #4B4092

    oklch(42.8% 0.13 285.6)

  10. Step 900

    900

    #3E3774

    oklch(37.7% 0.101 285.7)

  11. Step 950

    950

    #242144

    oklch(27.1% 0.064 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#948EE2 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)#749AE50.048
Deuteranopia (no green cones)#7295E00.046
Tritanopia (no blue cones)#809EAD0.105
Achromatopsia (no color)#9797970.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #948EE2

    #948EE2

    oklch(68.6% 0.122 286)

  • #A49E39

    #A49E39

    oklch(68.5% 0.121 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #948EE2

    #948EE2

    oklch(68.6% 0.122 286)

  • #669CE4

    #669CE4

    oklch(68.6% 0.121 256)

  • #B782CD

    #B782CD

    oklch(68.6% 0.121 315.6)

Open the analogous palette in the generator

Split complementary

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

  • #948EE2

    #948EE2

    oklch(68.6% 0.122 286)

  • #C58F36

    #C58F36

    oklch(68.7% 0.122 76.3)

  • #77AB5D

    #77AB5D

    oklch(68.6% 0.121 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #948EE2

    #948EE2

    oklch(68.6% 0.122 286)

  • #D78056

    #D78056

    oklch(68.5% 0.122 45.9)

  • #3BB289

    #3BB289

    oklch(68.7% 0.122 166.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #948EE2

    #948EE2

    oklch(68.6% 0.122 286)

  • #DB7980

    #DB7980

    oklch(68.7% 0.122 16.3)

  • #A49E39

    #A49E39

    oklch(68.5% 0.121 105.9)

  • #00B0B2

    #00B0B2

    oklch(68.6% 0.117 196.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #948EE2 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.