#7958E5

Closest named color: Purpley (#8756E4). oklch(57.1% 0.204 289.1), rgb(121, 88, 229).

Aa

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

About this color

#7958E5 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.204 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.024 away. White text reads best on it, at 4.83:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.204)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.34:1
White text4.83:1

Values

HEX#7958E5
RGBrgb(121, 88, 229)
HSLhsl(254, 73%, 62%)
OKLCHoklch(57.1% 0.204 289.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 #7958E5 4.83:1 AA Lc -78.5 Fine for body text
Black text on #7958E5 4.34:1 AA large text Lc 31.0 Non-text elements, placeholder text
#7958E5 text on white 4.83:1 AA Lc 73.1 Content text, not long reading
#7958E5 text on black 4.34:1 AA large text Lc -28.6 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D7D4F9

    oklch(88.4% 0.051 289)

  4. Step 300

    300

    #BEB7F9

    oklch(80.8% 0.093 289)

  5. Step 400

    400

    #9F8FF5

    oklch(70.7% 0.146 289.3)

  6. Step 500

    500

    #896FF1

    oklch(63% 0.187 289.1)

  7. Step 600

    600 (this color)

    #7958E5

    oklch(57.1% 0.204 289.1)

  8. Step 700

    700

    #6342C2

    oklch(49% 0.189 289.4)

  9. Step 800

    800

    #50389D

    oklch(42.7% 0.156 289)

  10. Step 900

    900

    #42327D

    oklch(37.8% 0.122 289)

  11. Step 950

    950

    #261E49

    oklch(27% 0.077 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#7958E5 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)#0075EA0.114
Deuteranopia (no green cones)#006EE20.112
Tritanopia (no blue cones)#5679960.167
Achromatopsia (no color)#7272720.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #7958E5

    #7958E5

    oklch(57.1% 0.204 289.1)

  • #7E7D00

    #7E7D00

    oklch(57.2% 0.124 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7958E5

    #7958E5

    oklch(57.1% 0.204 289.1)

  • #1A70EC

    #1A70EC

    oklch(57% 0.203 259)

  • #A843C1

    #A843C1

    oklch(57.1% 0.203 319.1)

Open the analogous palette in the generator

Split complementary

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

  • #7958E5

    #7958E5

    oklch(57.1% 0.204 289.1)

  • #9D6E00

    #9D6E00

    oklch(57.2% 0.119 79)

  • #318F00

    #318F00

    oklch(57.2% 0.181 139.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7958E5

    #7958E5

    oklch(57.1% 0.204 289.1)

  • #BC5500

    #BC5500

    oklch(57% 0.153 48.9)

  • #008D6C

    #008D6C

    oklch(57.2% 0.115 168.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7958E5

    #7958E5

    oklch(57.1% 0.204 289.1)

  • #D52A45

    #D52A45

    oklch(57.1% 0.204 18.9)

  • #7E7D00

    #7E7D00

    oklch(57.2% 0.124 109.2)

  • #00888D

    #00888D

    oklch(56.9% 0.097 199.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7958E5 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.