#948EFD

Closest named color: Lavender Blue (#8B88F8). oklch(70% 0.159 283.9), rgb(148, 142, 253).

Aa

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

About this color

#948EFD is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.159 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.021 away. Black text reads best on it, at 7.54:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.159)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.54:1
White text2.78:1

Values

HEX#948EFD
RGBrgb(148, 142, 253)
HSLhsl(243, 97%, 77%)
OKLCHoklch(70% 0.159 283.9)

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 #948EFD 2.78:1 Fails Lc -58.7 Large or bold text, headings
Black text on #948EFD 7.54:1 AAA Lc 50.6 Large or bold text, headings
#948EFD text on white 2.78:1 Fails Lc 53.5 Large or bold text, headings
#948EFD text on black 7.54:1 AAA Lc -48.4 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D4D5FD

    oklch(88.5% 0.055 284.1)

  4. Step 300

    300

    #B8B8FF

    oklch(80.8% 0.1 283.9)

  5. Step 400

    400 (this color)

    #948EFD

    oklch(70% 0.159 283.9)

  6. Step 500

    500

    #7F6FFE

    oklch(63% 0.205 283.9)

  7. Step 600

    600

    #6B52ED

    oklch(55.6% 0.222 283.9)

  8. Step 700

    700

    #5A41CE

    oklch(49.1% 0.206 283.9)

  9. Step 800

    800

    #4937A6

    oklch(42.7% 0.17 284)

  10. Step 900

    900

    #3C3184

    oklch(37.6% 0.134 284)

  11. Step 950

    950

    #231E4D

    oklch(27% 0.084 284.1)

Export this scale for Tailwind in the Tailwind colors tool

#948EFD 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)#649EFF0.065
Deuteranopia (no green cones)#6097FA0.064
Tritanopia (no blue cones)#74A4B90.137
Achromatopsia (no color)#9B9B9B0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #948EFD

    #948EFD

    oklch(70% 0.159 283.9)

  • #AFA200

    #AFA200

    oklch(70.1% 0.148 103.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #948EFD

    #948EFD

    oklch(70% 0.159 283.9)

  • #50A1FF

    #50A1FF

    oklch(70.1% 0.16 253.9)

  • #C27DE3

    #C27DE3

    oklch(70% 0.16 314)

Open the analogous palette in the generator

Split complementary

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

  • #948EFD

    #948EFD

    oklch(70% 0.159 283.9)

  • #D48E00

    #D48E00

    oklch(70% 0.148 74.1)

  • #73B343

    #73B343

    oklch(70% 0.159 134.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #948EFD

    #948EFD

    oklch(70% 0.159 283.9)

  • #EE7943

    #EE7943

    oklch(70.1% 0.16 43.9)

  • #00BB85

    #00BB85

    oklch(70.1% 0.15 163.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #948EFD

    #948EFD

    oklch(70% 0.159 283.9)

  • #F06F80

    #F06F80

    oklch(70% 0.159 14)

  • #AFA200

    #AFA200

    oklch(70.1% 0.148 103.8)

  • #00B5B4

    #00B5B4

    oklch(70% 0.12 194.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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