#7948E9

Closest named color: Purpley (#8756E4). oklch(55.1% 0.228 291), rgb(121, 72, 233).

Aa

White text reads best on this color (5.36:1).

About this color

#7948E9 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.228 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.040 away. White text reads best on it, at 5.36:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.228)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text3.91:1
White text5.36:1

Values

HEX#7948E9
RGBrgb(121, 72, 233)
HSLhsl(258, 79%, 60%)
OKLCHoklch(55.1% 0.228 291)

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 #7948E9 5.36:1 AA Lc -81.3 Fine for body text
Black text on #7948E9 3.91:1 AA large text Lc 28.1 Dividers and decoration only
#7948E9 text on white 5.36:1 AA Lc 76.0 Fine for body text
#7948E9 text on black 3.91:1 AA large text Lc -25.8 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D8D3FD

    oklch(88.4% 0.058 290.6)

  4. Step 300

    300

    #C0B5FE

    oklch(80.8% 0.102 290.8)

  5. Step 400

    400

    #A28BFE

    oklch(70.7% 0.164 290.8)

  6. Step 500

    500

    #8E68FC

    oklch(63% 0.211 290.9)

  7. Step 600

    600 (this color)

    #7948E9

    oklch(55.1% 0.228 291)

  8. Step 700

    700

    #6739CC

    oklch(49.1% 0.212 290.8)

  9. Step 800

    800

    #5431A5

    oklch(42.7% 0.175 290.9)

  10. Step 900

    900

    #452D83

    oklch(37.7% 0.137 291.2)

  11. Step 950

    950

    #281C4D

    oklch(27.1% 0.087 290.8)

Export this scale for Tailwind in the Tailwind colors tool

#7948E9 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)#006DEE0.125
Deuteranopia (no green cones)#0067E60.123
Tritanopia (no blue cones)#5471930.182
Achromatopsia (no color)#6B6B6B0.229

Harmonies

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

Complementary

The opposite hue (180°).

  • #7948E9

    #7948E9

    oklch(55.1% 0.228 291)

  • #767800

    #767800

    oklch(55.3% 0.121 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7948E9

    #7948E9

    oklch(55.1% 0.228 291)

  • #0D64F3

    #0D64F3

    oklch(55.1% 0.227 261)

  • #AA2DC0

    #AA2DC0

    oklch(55.2% 0.228 321.1)

Open the analogous palette in the generator

Split complementary

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

  • #7948E9

    #7948E9

    oklch(55.1% 0.228 291)

  • #946900

    #946900

    oklch(55.1% 0.114 80.3)

  • #1E8A00

    #1E8A00

    oklch(55.3% 0.182 141)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7948E9

    #7948E9

    oklch(55.1% 0.228 291)

  • #B15300

    #B15300

    oklch(55% 0.144 50.8)

  • #008669

    #008669

    oklch(55.2% 0.109 170.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7948E9

    #7948E9

    oklch(55.1% 0.228 291)

  • #D50033

    #D50033

    oklch(55.2% 0.222 21.1)

  • #767800

    #767800

    oklch(55.3% 0.121 110.9)

  • #008288

    #008288

    oklch(55.2% 0.094 200.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7948E9.

Similar named colors

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

Use #7948E9 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.