#742C9D

Closest named color: Rebecca Purple (#663399). oklch(45.2% 0.178 310.3), rgb(116, 44, 157).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (45%)
Chromavivid (0.178)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.58:1
White text8.10:1

Values

HEX#742C9D
RGBrgb(116, 44, 157)
HSLhsl(278, 56%, 39%)
OKLCHoklch(45.2% 0.178 310.3)

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 #742C9D 8.10:1 AAA Lc -92.0 Preferred for body text
Black text on #742C9D 2.58:1 Fails Lc 16.7 Dividers and decoration only
#742C9D text on white 8.10:1 AAA Lc 87.3 Fine for body text
#742C9D text on black 2.58:1 Fails Lc -14.9 Not readable

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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5F9

    oklch(93.6% 0.029 310.1)

  3. Step 200

    200

    #E5CFF6

    oklch(88.5% 0.058 310.4)

  4. Step 300

    300

    #D5AEF3

    oklch(80.9% 0.104 309.9)

  5. Step 400

    400

    #C17FED

    oklch(70.7% 0.168 310.4)

  6. Step 500

    500

    #B159E6

    oklch(63.1% 0.212 310.5)

  7. Step 600

    600

    #9C37D4

    oklch(55.5% 0.23 310.2)

  8. Step 700

    700

    #8627B8

    oklch(49.2% 0.214 310.4)

  9. Step 800

    800 (this color)

    #742C9D

    oklch(45.2% 0.178 310.3)

  10. Step 900

    900

    #582477

    oklch(37.7% 0.139 310.1)

  11. Step 950

    950

    #341746

    oklch(27.2% 0.088 310.3)

Export this scale for Tailwind in the Tailwind colors tool

#742C9D 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)#004DA00.152
Deuteranopia (no green cones)#18519B0.146
Tritanopia (no blue cones)#6E45610.122
Achromatopsia (no color)#5050500.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #742C9D

    #742C9D

    oklch(45.2% 0.178 310.3)

  • #3E6200

    #3E6200

    oklch(45.1% 0.122 130.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #742C9D

    #742C9D

    oklch(45.2% 0.178 310.3)

  • #493FB4

    #493FB4

    oklch(45.2% 0.178 280.4)

  • #901873

    #901873

    oklch(45.1% 0.178 340.4)

Open the analogous palette in the generator

Split complementary

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

  • #742C9D

    #742C9D

    oklch(45.2% 0.178 310.3)

  • #625600

    #625600

    oklch(45.1% 0.094 99.9)

  • #006742

    #006742

    oklch(45.3% 0.102 160.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #742C9D

    #742C9D

    oklch(45.2% 0.178 310.3)

  • #784B00

    #784B00

    oklch(45.4% 0.098 70.5)

  • #006360

    #006360

    oklch(45.1% 0.078 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #742C9D

    #742C9D

    oklch(45.2% 0.178 310.3)

  • #933100

    #933100

    oklch(45.3% 0.141 40.4)

  • #3E6200

    #3E6200

    oklch(45.1% 0.122 130.1)

  • #006076

    #006076

    oklch(45.3% 0.083 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #742C9D 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.