#795CA2

Closest named color: Dark Lavender (#856798). oklch(53.4% 0.111 301.9), rgb(121, 92, 162).

Aa

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

About this color

#795CA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 53%, its chroma 0.111 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.044 away. White text reads best on it, at 5.43:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text3.86:1
White text5.43:1

Values

HEX#795CA2
RGBrgb(121, 92, 162)
HSLhsl(265, 28%, 50%)
OKLCHoklch(53.4% 0.111 301.9)

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 #795CA2 5.43:1 AA Lc -82.3 Fine for body text
Black text on #795CA2 3.86:1 AA large text Lc 27.1 Dividers and decoration only
#795CA2 text on white 5.43:1 AA Lc 77.0 Fine for body text
#795CA2 text on black 3.86:1 AA large text Lc -24.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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DCD5E9

    oklch(88.5% 0.028 301.7)

  4. Step 300

    300

    #C6BADC

    oklch(81% 0.049 301.4)

  5. Step 400

    400

    #A995CA

    oklch(70.6% 0.079 301.7)

  6. Step 500

    500

    #957ABD

    oklch(63.1% 0.102 302.1)

  7. Step 600

    600 (this color)

    #795CA2

    oklch(53.4% 0.111 301.9)

  8. Step 700

    700

    #6C5191

    oklch(49.1% 0.103 302.2)

  9. Step 800

    800

    #584376

    oklch(42.8% 0.085 301.9)

  10. Step 900

    900

    #48395F

    oklch(37.8% 0.066 301.5)

  11. Step 950

    950

    #2A2138

    oklch(26.9% 0.043 301.5)

Export this scale for Tailwind in the Tailwind colors tool

#795CA2 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)#4A69A50.072
Deuteranopia (no green cones)#5069A00.067
Tritanopia (no blue cones)#7268770.085
Achromatopsia (no color)#6A6A6A0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #795CA2

    #795CA2

    oklch(53.4% 0.111 301.9)

  • #637723

    #637723

    oklch(53.6% 0.111 121.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #795CA2

    #795CA2

    oklch(53.4% 0.111 301.9)

  • #5768AD

    #5768AD

    oklch(53.5% 0.11 271.8)

  • #915389

    #915389

    oklch(53.3% 0.11 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #795CA2

    #795CA2

    oklch(53.4% 0.111 301.9)

  • #846A00

    #846A00

    oklch(53.4% 0.109 91.8)

  • #317F4C

    #317F4C

    oklch(53.4% 0.111 152.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #795CA2

    #795CA2

    oklch(53.4% 0.111 301.9)

  • #9A5C1B

    #9A5C1B

    oklch(53.4% 0.111 61.7)

  • #007F71

    #007F71

    oklch(53.5% 0.096 181.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #795CA2

    #795CA2

    oklch(53.4% 0.111 301.9)

  • #A35243

    #A35243

    oklch(53.4% 0.11 31.8)

  • #637723

    #637723

    oklch(53.6% 0.111 121.8)

  • #007B8C

    #007B8C

    oklch(53.5% 0.093 211.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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