#948EFA

Closest named color: Lavender Blue (#8B88F8). oklch(69.9% 0.155 284.1), rgb(148, 142, 250).

Aa

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

About this color

#948EFA is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.155 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.50:1.

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

Values

HEX#948EFA
RGBrgb(148, 142, 250)
HSLhsl(243, 92%, 77%)
OKLCHoklch(69.9% 0.155 284.1)

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 #948EFA 2.79:1 Fails Lc -59.0 Large or bold text, headings
Black text on #948EFA 7.50:1 AAA Lc 50.3 Large or bold text, headings
#948EFA text on white 2.79:1 Fails Lc 53.7 Large or bold text, headings
#948EFA text on black 7.50:1 AAA Lc -48.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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D4D5FC

    oklch(88.5% 0.053 284.1)

  4. Step 300

    300

    #B9B8FE

    oklch(80.9% 0.098 284.6)

  5. Step 400

    400 (this color)

    #948EFA

    oklch(69.9% 0.155 284.1)

  6. Step 500

    500

    #8070FB

    oklch(63.1% 0.2 284.3)

  7. Step 600

    600

    #6B54EA

    oklch(55.7% 0.216 283.9)

  8. Step 700

    700

    #5A43CB

    oklch(49.1% 0.2 284)

  9. Step 800

    800

    #4938A4

    oklch(42.6% 0.166 284)

  10. Step 900

    900

    #3C3282

    oklch(37.6% 0.129 284)

  11. Step 950

    950

    #231E4C

    oklch(26.9% 0.082 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#948EFA 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)#669EFE0.063
Deuteranopia (no green cones)#6397F70.062
Tritanopia (no blue cones)#76A4B80.134
Achromatopsia (no color)#9A9A9A0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #948EFA

    #948EFA

    oklch(69.9% 0.155 284.1)

  • #AEA100

    #AEA100

    oklch(69.8% 0.147 103.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #948EFA

    #948EFA

    oklch(69.9% 0.155 284.1)

  • #53A0FC

    #53A0FC

    oklch(69.9% 0.156 254.3)

  • #C17EE1

    #C17EE1

    oklch(69.9% 0.156 314.1)

Open the analogous palette in the generator

Split complementary

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

  • #948EFA

    #948EFA

    oklch(69.9% 0.155 284.1)

  • #D48E00

    #D48E00

    oklch(70% 0.148 74.1)

  • #74B246

    #74B246

    oklch(69.8% 0.155 134)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #948EFA

    #948EFA

    oklch(69.9% 0.155 284.1)

  • #EB7A45

    #EB7A45

    oklch(69.9% 0.155 44.3)

  • #00BA85

    #00BA85

    oklch(69.9% 0.149 164.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #948EFA

    #948EFA

    oklch(69.9% 0.155 284.1)

  • #EE7080

    #EE7080

    oklch(69.9% 0.156 14.1)

  • #AEA100

    #AEA100

    oklch(69.8% 0.147 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 #948EFA, closest first.

Similar named colors

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

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