#948FFC

Closest named color: Lavender Blue (#8B88F8). oklch(70.2% 0.157 283.7), rgb(148, 143, 252).

Aa

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

About this color

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

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

Values

HEX#948FFC
RGBrgb(148, 143, 252)
HSLhsl(243, 95%, 77%)
OKLCHoklch(70.2% 0.157 283.7)

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 #948FFC 2.76:1 Fails Lc -58.5 Large or bold text, headings
Black text on #948FFC 7.59:1 AAA Lc 50.8 Large or bold text, headings
#948FFC text on white 2.76:1 Fails Lc 53.2 Large or bold text, headings
#948FFC text on black 7.59:1 AAA Lc -48.6 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

    #B8B9FE

    oklch(81% 0.097 283.4)

  5. Step 400

    400 (this color)

    #948FFC

    oklch(70.2% 0.157 283.7)

  6. Step 500

    500

    #7F70FC

    oklch(63.1% 0.201 283.9)

  7. Step 600

    600

    #6A53EB

    oklch(55.5% 0.218 283.6)

  8. Step 700

    700

    #5942CC

    oklch(49% 0.202 283.6)

  9. Step 800

    800

    #4938A5

    oklch(42.7% 0.167 283.9)

  10. Step 900

    900

    #3C3283

    oklch(37.7% 0.131 283.8)

  11. Step 950

    950

    #231E4D

    oklch(27% 0.084 284.1)

Export this scale for Tailwind in the Tailwind colors tool

#948FFC 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)#679FFF0.062
Deuteranopia (no green cones)#6298F90.062
Tritanopia (no blue cones)#75A5B90.135
Achromatopsia (no color)#9B9B9B0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #948FFC

    #948FFC

    oklch(70.2% 0.157 283.7)

  • #AFA200

    #AFA200

    oklch(70.1% 0.148 103.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #948FFC

    #948FFC

    oklch(70.2% 0.157 283.7)

  • #52A1FD

    #52A1FD

    oklch(70.1% 0.156 253.9)

  • #C17FE3

    #C17FE3

    oklch(70.2% 0.156 313.3)

Open the analogous palette in the generator

Split complementary

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

  • #948FFC

    #948FFC

    oklch(70.2% 0.157 283.7)

  • #D58E00

    #D58E00

    oklch(70.1% 0.149 73.7)

  • #75B345

    #75B345

    oklch(70.1% 0.156 133.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #948FFC

    #948FFC

    oklch(70.2% 0.157 283.7)

  • #ED7A46

    #ED7A46

    oklch(70.2% 0.157 43.7)

  • #00BB85

    #00BB85

    oklch(70.1% 0.15 163.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #948FFC

    #948FFC

    oklch(70.2% 0.157 283.7)

  • #EF7182

    #EF7182

    oklch(70.2% 0.156 13.6)

  • #AFA200

    #AFA200

    oklch(70.1% 0.148 103.8)

  • #00B6B4

    #00B6B4

    oklch(70.2% 0.12 193.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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