#795FFB

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.8% 0.222 285.1), rgb(121, 95, 251).

Aa

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

About this color

#795FFB is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.222 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.029 away. Black text reads best on it, at 4.84:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.222)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.84:1
White text4.33:1

Values

HEX#795FFB
RGBrgb(121, 95, 251)
HSLhsl(250, 95%, 68%)
OKLCHoklch(59.8% 0.222 285.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 #795FFB 4.33:1 AA large text Lc -75.0 Fine for body text
Black text on #795FFB 4.84:1 AA Lc 34.6 Non-text elements, placeholder text
#795FFB text on white 4.33:1 AA large text Lc 69.5 Content text, not long reading
#795FFB text on black 4.84:1 AA Lc -32.1 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E7FF

    oklch(93.5% 0.032 285.8)

  3. Step 200

    200

    #D4D4FF

    oklch(88.4% 0.059 285.1)

  4. Step 300

    300

    #BAB8FF

    oklch(81% 0.1 285.2)

  5. Step 400

    400

    #988FFF

    oklch(70.7% 0.16 285.2)

  6. Step 500

    500 (this color)

    #795FFB

    oklch(59.8% 0.222 285.1)

  7. Step 600

    600

    #6F4AF6

    oklch(55.6% 0.241 285.4)

  8. Step 700

    700

    #5D39D7

    oklch(49.1% 0.225 285)

  9. Step 800

    800

    #4C31AD

    oklch(42.7% 0.185 285.5)

  10. Step 900

    900

    #3E2E89

    oklch(37.7% 0.144 285.2)

  11. Step 950

    950

    #241C50

    oklch(27% 0.091 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#795FFB 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)#007EFF0.108
Deuteranopia (no green cones)#0074F80.104
Tritanopia (no blue cones)#4585A40.186
Achromatopsia (no color)#7979790.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #795FFB

    #795FFB

    oklch(59.8% 0.222 285.1)

  • #8B8300

    #8B8300

    oklch(59.8% 0.127 105.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #795FFB

    #795FFB

    oklch(59.8% 0.222 285.1)

  • #007DF1

    #007DF1

    oklch(59.9% 0.197 255)

  • #AF46D7

    #AF46D7

    oklch(59.7% 0.222 315.2)

Open the analogous palette in the generator

Split complementary

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

  • #795FFB

    #795FFB

    oklch(59.8% 0.222 285.1)

  • #AB7300

    #AB7300

    oklch(59.9% 0.126 75.1)

  • #4C9500

    #4C9500

    oklch(59.8% 0.175 135.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #795FFB

    #795FFB

    oklch(59.8% 0.222 285.1)

  • #CE5500

    #CE5500

    oklch(59.8% 0.171 45.1)

  • #00976D

    #00976D

    oklch(59.9% 0.126 165.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #795FFB

    #795FFB

    oklch(59.8% 0.222 285.1)

  • #E52453

    #E52453

    oklch(59.8% 0.222 15.1)

  • #8B8300

    #8B8300

    oklch(59.8% 0.127 105.3)

  • #009293

    #009293

    oklch(59.8% 0.102 195.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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