#7C5DBD

Closest named color: Deep Lavender (#8D5EB7). oklch(55.4% 0.146 296.2), rgb(124, 93, 189).

Aa

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

About this color

#7C5DBD is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.146 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.031 away. White text reads best on it, at 5.05:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.146)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.15:1
White text5.05:1

Values

HEX#7C5DBD
RGBrgb(124, 93, 189)
HSLhsl(259, 42%, 55%)
OKLCHoklch(55.4% 0.146 296.2)

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 #7C5DBD 5.05:1 AA Lc -80.1 Fine for body text
Black text on #7C5DBD 4.15:1 AA large text Lc 29.4 Dividers and decoration only
#7C5DBD text on white 5.05:1 AA Lc 74.7 Content text, not long reading
#7C5DBD text on black 4.15:1 AA large text Lc -27.0 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE8F5

    oklch(93.7% 0.018 296.6)

  3. Step 200

    200

    #DBD5EF

    oklch(88.6% 0.036 296.2)

  4. Step 300

    300

    #C4B9E7

    oklch(81% 0.065 295.9)

  5. Step 400

    400

    #A693DB

    oklch(70.7% 0.105 295.7)

  6. Step 500

    500

    #9276D1

    oklch(63.1% 0.135 296.5)

  7. Step 600

    600 (this color)

    #7C5DBD

    oklch(55.4% 0.146 296.2)

  8. Step 700

    700

    #694CA3

    oklch(49% 0.136 296.4)

  9. Step 800

    800

    #563F84

    oklch(42.7% 0.112 296.8)

  10. Step 900

    900

    #46366A

    oklch(37.6% 0.088 296.1)

  11. Step 950

    950

    #29203E

    oklch(27% 0.055 296.3)

Export this scale for Tailwind in the Tailwind colors tool

#7C5DBD 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)#3A6FC00.092
Deuteranopia (no green cones)#416DBB0.086
Tritanopia (no blue cones)#6D70840.116
Achromatopsia (no color)#6F6F6F0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C5DBD

    #7C5DBD

    oklch(55.4% 0.146 296.2)

  • #6F7B00

    #6F7B00

    oklch(55.4% 0.127 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C5DBD

    #7C5DBD

    oklch(55.4% 0.146 296.2)

  • #4B6DC7

    #4B6DC7

    oklch(55.5% 0.145 266.2)

  • #9D50A0

    #9D50A0

    oklch(55.5% 0.146 325.9)

Open the analogous palette in the generator

Split complementary

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

  • #7C5DBD

    #7C5DBD

    oklch(55.4% 0.146 296.2)

  • #906D00

    #906D00

    oklch(55.4% 0.113 86.3)

  • #288839

    #288839

    oklch(55.3% 0.146 146.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C5DBD

    #7C5DBD

    oklch(55.4% 0.146 296.2)

  • #AC5A00

    #AC5A00

    oklch(55.4% 0.135 56.6)

  • #008671

    #008671

    oklch(55.4% 0.103 176.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C5DBD

    #7C5DBD

    oklch(55.4% 0.146 296.2)

  • #B94943

    #B94943

    oklch(55.4% 0.146 26)

  • #6F7B00

    #6F7B00

    oklch(55.4% 0.127 116.4)

  • #00828E

    #00828E

    oklch(55.4% 0.095 206.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7C5DBD.

Similar named colors

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

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