#948AFF

Closest named color: Lavender Blue (#8B88F8). oklch(69.4% 0.168 285), rgb(148, 138, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.168)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.33:1
White text2.86:1

Values

HEX#948AFF
RGBrgb(148, 138, 255)
HSLhsl(245, 100%, 77%)
OKLCHoklch(69.4% 0.168 285)

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 #948AFF 2.86:1 Fails Lc -59.9 Large or bold text, headings
Black text on #948AFF 7.33:1 AAA Lc 49.4 Large or bold text, headings
#948AFF text on white 2.86:1 Fails Lc 54.6 Large or bold text, headings
#948AFF text on black 7.33:1 AAA Lc -47.2 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

    #E7E8FE

    oklch(93.7% 0.03 283.7)

  3. Step 200

    200

    #D4D4FF

    oklch(88.4% 0.059 285.1)

  4. Step 300

    300

    #B9B8FF

    oklch(80.9% 0.1 284.6)

  5. Step 400

    400 (this color)

    #948AFF

    oklch(69.4% 0.168 285)

  6. Step 500

    500

    #826EFF

    oklch(63.2% 0.207 285.1)

  7. Step 600

    600

    #6E4DF2

    oklch(55.6% 0.233 285.1)

  8. Step 700

    700

    #5D3CD3

    oklch(49.1% 0.217 285.2)

  9. Step 800

    800

    #4B33AA

    oklch(42.6% 0.179 285.1)

  10. Step 900

    900

    #3E2F87

    oklch(37.7% 0.14 285.3)

  11. Step 950

    950

    #241D4F

    oklch(27.1% 0.088 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#948AFF 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)#5C9CFF0.075
Deuteranopia (no green cones)#5995FC0.073
Tritanopia (no blue cones)#74A2B80.143
Achromatopsia (no color)#9999990.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #948AFF

    #948AFF

    oklch(69.4% 0.168 285)

  • #ABA100

    #ABA100

    oklch(69.5% 0.148 105.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #948AFF

    #948AFF

    oklch(69.4% 0.168 285)

  • #4F9EFF

    #4F9EFF

    oklch(69.5% 0.163 255)

  • #C379E3

    #C379E3

    oklch(69.5% 0.167 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #948AFF

    #948AFF

    oklch(69.4% 0.168 285)

  • #D18D00

    #D18D00

    oklch(69.5% 0.147 74.8)

  • #6CB33C

    #6CB33C

    oklch(69.5% 0.168 135.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #948AFF

    #948AFF

    oklch(69.4% 0.168 285)

  • #EF7537

    #EF7537

    oklch(69.5% 0.168 45)

  • #00B886

    #00B886

    oklch(69.4% 0.145 165.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #948AFF

    #948AFF

    oklch(69.4% 0.168 285)

  • #F26A7B

    #F26A7B

    oklch(69.5% 0.168 14.9)

  • #ABA100

    #ABA100

    oklch(69.5% 0.148 105.2)

  • #00B3B3

    #00B3B3

    oklch(69.4% 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 #948AFF, closest first.

Similar named colors

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

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