#5F3E9D

Closest named color: Rebecca Purple (#663399). oklch(45.2% 0.148 295.9), rgb(95, 62, 157).

Aa

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

About this color

#5F3E9D is a medium-dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.148 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.026 away. White text reads best on it, at 7.88:1.

Hue familyPurples
Lightnessmedium-dark (45%)
Chromavivid (0.148)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.66:1
White text7.88:1

Values

HEX#5F3E9D
RGBrgb(95, 62, 157)
HSLhsl(261, 43%, 43%)
OKLCHoklch(45.2% 0.148 295.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 #5F3E9D 7.88:1 AAA Lc -91.7 Preferred for body text
Black text on #5F3E9D 2.66:1 Fails Lc 17.0 Dividers and decoration only
#5F3E9D text on white 7.88:1 AAA Lc 87.0 Fine for body text
#5F3E9D text on black 2.66:1 Fails Lc -15.1 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 800.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DBD3F6

    oklch(88.4% 0.048 295.9)

  4. Step 300

    300

    #C5B6F3

    oklch(81% 0.086 295.7)

  5. Step 400

    400

    #A98DED

    oklch(70.7% 0.139 296.1)

  6. Step 500

    500

    #956DE7

    oklch(63.1% 0.178 296)

  7. Step 600

    600

    #8052D5

    oklch(55.7% 0.192 295.7)

  8. Step 700

    700

    #6D41B8

    oklch(49.1% 0.179 296.2)

  9. Step 800

    800 (this color)

    #5F3E9D

    oklch(45.2% 0.148 295.9)

  10. Step 900

    900

    #483177

    oklch(37.8% 0.115 295.5)

  11. Step 950

    950

    #2A1D46

    oklch(27% 0.074 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#5F3E9D 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)#0052A00.104
Deuteranopia (no green cones)#13509B0.098
Tritanopia (no blue cones)#5053670.117
Achromatopsia (no color)#5151510.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F3E9D

    #5F3E9D

    oklch(45.2% 0.148 295.9)

  • #535C00

    #535C00

    oklch(45.1% 0.103 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F3E9D

    #5F3E9D

    oklch(45.2% 0.148 295.9)

  • #2E4EA7

    #2E4EA7

    oklch(45.2% 0.148 265.8)

  • #7D3081

    #7D3081

    oklch(45.1% 0.149 325.7)

Open the analogous palette in the generator

Split complementary

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

  • #5F3E9D

    #5F3E9D

    oklch(45.2% 0.148 295.9)

  • #6D5100

    #6D5100

    oklch(45.2% 0.093 85.5)

  • #00691E

    #00691E

    oklch(45.3% 0.139 146)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F3E9D

    #5F3E9D

    oklch(45.2% 0.148 295.9)

  • #834200

    #834200

    oklch(45.2% 0.111 55.8)

  • #006554

    #006554

    oklch(45.3% 0.085 175.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F3E9D

    #5F3E9D

    oklch(45.2% 0.148 295.9)

  • #972726

    #972726

    oklch(45.2% 0.148 25.8)

  • #535C00

    #535C00

    oklch(45.1% 0.103 116.2)

  • #00626B

    #00626B

    oklch(45.3% 0.077 205.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F3E9D 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.