#948DEB

Closest named color: Perrywinkle (#8F8CE7). oklch(68.9% 0.136 285.6), rgb(148, 141, 235).

Aa

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

About this color

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

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

Values

HEX#948DEB
RGBrgb(148, 141, 235)
HSLhsl(244, 70%, 74%)
OKLCHoklch(68.9% 0.136 285.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 #948DEB 2.88:1 Fails Lc -60.4 Content text, not long reading
Black text on #948DEB 7.26:1 AAA Lc 49.0 Large or bold text, headings
#948DEB text on white 2.88:1 Fails Lc 55.1 Large or bold text, headings
#948DEB text on black 7.26:1 AAA Lc -46.7 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

    #F4F4FD

    oklch(97% 0.012 286.2)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D5D5F8

    oklch(88.4% 0.048 285.4)

  4. Step 300

    300

    #BBB9F6

    oklch(80.9% 0.086 285.8)

  5. Step 400

    400 (this color)

    #948DEB

    oklch(68.9% 0.136 285.6)

  6. Step 500

    500

    #8375EC

    oklch(63.2% 0.173 285.7)

  7. Step 600

    600

    #6E5ADB

    oklch(55.7% 0.189 285.6)

  8. Step 700

    700

    #5C49BE

    oklch(49.2% 0.176 285.4)

  9. Step 800

    800

    #4B3C99

    oklch(42.6% 0.146 285.8)

  10. Step 900

    900

    #3E357A

    oklch(37.7% 0.113 285.6)

  11. Step 950

    950

    #242047

    oklch(27.1% 0.07 285.3)

Export this scale for Tailwind in the Tailwind colors tool

#948DEB 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)#6E9BEF0.055
Deuteranopia (no green cones)#6C95E90.053
Tritanopia (no blue cones)#7C9FB10.116
Achromatopsia (no color)#9898980.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #948DEB

    #948DEB

    oklch(68.9% 0.136 285.6)

  • #A79F24

    #A79F24

    oklch(68.8% 0.136 105.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #948DEB

    #948DEB

    oklch(68.9% 0.136 285.6)

  • #5F9DED

    #5F9DED

    oklch(68.9% 0.135 255.5)

  • #BB7FD4

    #BB7FD4

    oklch(68.8% 0.136 315.5)

Open the analogous palette in the generator

Split complementary

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

  • #948DEB

    #948DEB

    oklch(68.9% 0.136 285.6)

  • #CB8D20

    #CB8D20

    oklch(68.8% 0.136 75.3)

  • #74AE54

    #74AE54

    oklch(69% 0.136 135.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #948DEB

    #948DEB

    oklch(68.9% 0.136 285.6)

  • #DF7D4E

    #DF7D4E

    oklch(68.9% 0.136 45.3)

  • #22B587

    #22B587

    oklch(68.9% 0.136 165.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #948DEB

    #948DEB

    oklch(68.9% 0.136 285.6)

  • #E2757F

    #E2757F

    oklch(68.9% 0.135 15.5)

  • #A79F24

    #A79F24

    oklch(68.8% 0.136 105.5)

  • #00B1B2

    #00B1B2

    oklch(68.9% 0.117 195.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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