#948CFD

Closest named color: Lavender Blue (#8B88F8). oklch(69.7% 0.162 284.6), rgb(148, 140, 253).

Aa

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

About this color

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

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

Values

HEX#948CFD
RGBrgb(148, 140, 253)
HSLhsl(244, 97%, 77%)
OKLCHoklch(69.7% 0.162 284.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 #948CFD 2.82:1 Fails Lc -59.4 Large or bold text, headings
Black text on #948CFD 7.42:1 AAA Lc 49.9 Large or bold text, headings
#948CFD text on white 2.82:1 Fails Lc 54.1 Large or bold text, headings
#948CFD text on black 7.42:1 AAA Lc -47.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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D4D5FE

    oklch(88.5% 0.056 284.1)

  4. Step 300

    300

    #B9B8FF

    oklch(80.9% 0.1 284.6)

  5. Step 400

    400 (this color)

    #948CFD

    oklch(69.7% 0.162 284.6)

  6. Step 500

    500

    #816EFF

    oklch(63.1% 0.207 284.7)

  7. Step 600

    600

    #6D50EE

    oklch(55.6% 0.225 284.8)

  8. Step 700

    700

    #5B3FCF

    oklch(49% 0.209 284.5)

  9. Step 800

    800

    #4A36A8

    oklch(42.8% 0.173 284.4)

  10. Step 900

    900

    #3D3185

    oklch(37.8% 0.135 284.4)

  11. Step 950

    950

    #231E4E

    oklch(27.1% 0.085 283.9)

Export this scale for Tailwind in the Tailwind colors tool

#948CFD 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)#619DFF0.069
Deuteranopia (no green cones)#5D96FA0.068
Tritanopia (no blue cones)#74A3B80.139
Achromatopsia (no color)#9A9A9A0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #948CFD

    #948CFD

    oklch(69.7% 0.162 284.6)

  • #ACA100

    #ACA100

    oklch(69.6% 0.148 104.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #948CFD

    #948CFD

    oklch(69.7% 0.162 284.6)

  • #4F9FFF

    #4F9FFF

    oklch(69.7% 0.162 254.5)

  • #C27BE2

    #C27BE2

    oklch(69.6% 0.162 314.6)

Open the analogous palette in the generator

Split complementary

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

  • #948CFD

    #948CFD

    oklch(69.7% 0.162 284.6)

  • #D28D00

    #D28D00

    oklch(69.6% 0.147 74.4)

  • #70B341

    #70B341

    oklch(69.8% 0.162 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #948CFD

    #948CFD

    oklch(69.7% 0.162 284.6)

  • #ED773E

    #ED773E

    oklch(69.6% 0.162 44.5)

  • #00B985

    #00B985

    oklch(69.6% 0.147 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #948CFD

    #948CFD

    oklch(69.7% 0.162 284.6)

  • #F06D7D

    #F06D7D

    oklch(69.6% 0.162 14.8)

  • #ACA100

    #ACA100

    oklch(69.6% 0.148 104.7)

  • #00B4B4

    #00B4B4

    oklch(69.7% 0.119 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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