#7F65A1

Closest named color: Dark Lavender (#856798). oklch(55.6% 0.095 303.4), rgb(127, 101, 161).

Aa

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

About this color

#7F65A1 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.095 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.020 away. White text reads best on it, at 4.90:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.27:1
White text4.90:1

Values

HEX#7F65A1
RGBrgb(127, 101, 161)
HSLhsl(266, 24%, 51%)
OKLCHoklch(55.6% 0.095 303.4)

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 #7F65A1 4.90:1 AA Lc -79.3 Fine for body text
Black text on #7F65A1 4.27:1 AA large text Lc 30.1 Non-text elements, placeholder text
#7F65A1 text on white 4.90:1 AA Lc 73.9 Content text, not long reading
#7F65A1 text on black 4.27:1 AA large text Lc -27.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

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DCD6E6

    oklch(88.6% 0.023 302.9)

  4. Step 300

    300

    #C6BAD8

    oklch(80.8% 0.044 303.6)

  5. Step 400

    400

    #A997C4

    oklch(70.8% 0.067 303)

  6. Step 500

    500

    #947CB5

    oklch(63% 0.088 303.3)

  7. Step 600

    600 (this color)

    #7F65A1

    oklch(55.6% 0.095 303.4)

  8. Step 700

    700

    #6B548A

    oklch(49.2% 0.088 302.9)

  9. Step 800

    800

    #574570

    oklch(42.8% 0.073 302.7)

  10. Step 900

    900

    #483A5A

    oklch(37.7% 0.056 303.9)

  11. Step 950

    950

    #2A2235

    oklch(27% 0.036 303.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F65A1 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)#5770A30.062
Deuteranopia (no green cones)#5D719F0.058
Tritanopia (no blue cones)#796E7B0.073
Achromatopsia (no color)#7171710.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F65A1

    #7F65A1

    oklch(55.6% 0.095 303.4)

  • #687D3A

    #687D3A

    oklch(55.7% 0.096 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F65A1

    #7F65A1

    oklch(55.6% 0.095 303.4)

  • #616FAB

    #616FAB

    oklch(55.6% 0.095 273)

  • #955E8B

    #955E8B

    oklch(55.8% 0.095 333.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F65A1

    #7F65A1

    oklch(55.6% 0.095 303.4)

  • #867228

    #867228

    oklch(55.6% 0.095 93.8)

  • #428459

    #428459

    oklch(55.8% 0.096 153.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F65A1

    #7F65A1

    oklch(55.6% 0.095 303.4)

  • #9A6633

    #9A6633

    oklch(55.6% 0.095 63.1)

  • #138579

    #138579

    oklch(55.6% 0.095 183.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F65A1

    #7F65A1

    oklch(55.6% 0.095 303.4)

  • #A35E4E

    #A35E4E

    oklch(55.7% 0.094 34)

  • #687D3A

    #687D3A

    oklch(55.7% 0.096 123.9)

  • #0D8195

    #0D8195

    oklch(55.6% 0.095 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7F65A1 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.