#795AE2

Closest named color: Purpley (#8756E4). oklch(57.2% 0.197 289.1), rgb(121, 90, 226).

Aa

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

About this color

#795AE2 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.197 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.80:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.197)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.37:1
White text4.80:1

Values

HEX#795AE2
RGBrgb(121, 90, 226)
HSLhsl(254, 70%, 62%)
OKLCHoklch(57.2% 0.197 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 #795AE2 4.80:1 AA Lc -78.3 Fine for body text
Black text on #795AE2 4.37:1 AA large text Lc 31.2 Non-text elements, placeholder text
#795AE2 text on white 4.80:1 AA Lc 72.9 Content text, not long reading
#795AE2 text on black 4.37:1 AA large text Lc -28.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D7D4F8

    oklch(88.4% 0.049 289.2)

  4. Step 300

    300

    #BEB8F7

    oklch(81% 0.088 288.6)

  5. Step 400

    400

    #9F90F3

    oklch(70.7% 0.142 289.2)

  6. Step 500

    500

    #8971EE

    oklch(63.1% 0.181 289)

  7. Step 600

    600 (this color)

    #795AE2

    oklch(57.2% 0.197 289.1)

  8. Step 700

    700

    #6244BF

    oklch(49% 0.183 289)

  9. Step 800

    800

    #50399B

    oklch(42.7% 0.152 289.1)

  10. Step 900

    900

    #42327B

    oklch(37.6% 0.119 289.5)

  11. Step 950

    950

    #261E48

    oklch(26.9% 0.075 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#795AE2 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)#0075E60.113
Deuteranopia (no green cones)#006FDF0.111
Tritanopia (no blue cones)#5779950.162
Achromatopsia (no color)#7272720.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #795AE2

    #795AE2

    oklch(57.2% 0.197 289.1)

  • #7E7D00

    #7E7D00

    oklch(57.2% 0.124 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #795AE2

    #795AE2

    oklch(57.2% 0.197 289.1)

  • #2071E9

    #2071E9

    oklch(57.1% 0.197 259.1)

  • #A746BF

    #A746BF

    oklch(57.2% 0.196 319.1)

Open the analogous palette in the generator

Split complementary

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

  • #795AE2

    #795AE2

    oklch(57.2% 0.197 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.

  • #795AE2

    #795AE2

    oklch(57.2% 0.197 289.1)

  • #BC5600

    #BC5600

    oklch(57.2% 0.152 49.4)

  • #008D6C

    #008D6C

    oklch(57.2% 0.115 168.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #795AE2

    #795AE2

    oklch(57.2% 0.197 289.1)

  • #D33047

    #D33047

    oklch(57.2% 0.198 19)

  • #7E7D00

    #7E7D00

    oklch(57.2% 0.124 109.2)

  • #00898E

    #00898E

    oklch(57.2% 0.097 199.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #795AE2 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.