#7E62BA

Closest named color: Deep Lavender (#8D5EB7). oklch(56.3% 0.134 296.5), rgb(126, 98, 186).

Aa

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

About this color

#7E62BA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.134 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.026 away. White text reads best on it, at 4.83:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.34:1
White text4.83:1

Values

HEX#7E62BA
RGBrgb(126, 98, 186)
HSLhsl(259, 39%, 56%)
OKLCHoklch(56.3% 0.134 296.5)

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 #7E62BA 4.83:1 AA Lc -78.8 Fine for body text
Black text on #7E62BA 4.34:1 AA large text Lc 30.7 Non-text elements, placeholder text
#7E62BA text on white 4.83:1 AA Lc 73.4 Content text, not long reading
#7E62BA text on black 4.34:1 AA large text Lc -28.3 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F4

    oklch(93.7% 0.016 297.5)

  3. Step 200

    200

    #DBD5ED

    oklch(88.5% 0.033 297.2)

  4. Step 300

    300

    #C4B9E4

    oklch(80.9% 0.061 296.7)

  5. Step 400

    400

    #A694D6

    oklch(70.7% 0.097 296.4)

  6. Step 500

    500

    #9178CB

    oklch(63% 0.124 296.6)

  7. Step 600

    600 (this color)

    #7E62BA

    oklch(56.3% 0.134 296.5)

  8. Step 700

    700

    #694F9E

    oklch(49.2% 0.124 296.8)

  9. Step 800

    800

    #554180

    oklch(42.7% 0.103 296.4)

  10. Step 900

    900

    #463767

    oklch(37.6% 0.081 296.7)

  11. Step 950

    950

    #29213C

    oklch(27.1% 0.05 296.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E62BA 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)#4572BD0.082
Deuteranopia (no green cones)#4B71B80.077
Tritanopia (no blue cones)#7172850.106
Achromatopsia (no color)#7272720.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E62BA

    #7E62BA

    oklch(56.3% 0.134 296.5)

  • #717E00

    #717E00

    oklch(56.3% 0.129 116.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E62BA

    #7E62BA

    oklch(56.3% 0.134 296.5)

  • #5171C4

    #5171C4

    oklch(56.5% 0.134 266.3)

  • #9D569F

    #9D569F

    oklch(56.3% 0.134 326.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E62BA

    #7E62BA

    oklch(56.3% 0.134 296.5)

  • #937000

    #937000

    oklch(56.4% 0.115 86.8)

  • #358A42

    #358A42

    oklch(56.4% 0.135 146.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E62BA

    #7E62BA

    oklch(56.3% 0.134 296.5)

  • #AF5D09

    #AF5D09

    oklch(56.4% 0.134 56.6)

  • #008974

    #008974

    oklch(56.3% 0.105 176.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E62BA

    #7E62BA

    oklch(56.3% 0.134 296.5)

  • #B75149

    #B75149

    oklch(56.3% 0.134 26.7)

  • #717E00

    #717E00

    oklch(56.3% 0.129 116.7)

  • #008592

    #008592

    oklch(56.4% 0.097 206.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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