#742A9D

Closest named color: Rebecca Purple (#663399). oklch(45% 0.18 310.5), rgb(116, 42, 157).

Aa

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

About this color

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

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

Values

HEX#742A9D
RGBrgb(116, 42, 157)
HSLhsl(279, 58%, 39%)
OKLCHoklch(45% 0.18 310.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 #742A9D 8.20:1 AAA Lc -92.2 Preferred for body text
Black text on #742A9D 2.56:1 Fails Lc 16.5 Dividers and decoration only
#742A9D text on white 8.20:1 AAA Lc 87.5 Fine for body text
#742A9D text on black 2.56:1 Fails Lc -14.6 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

    #D6ADF3

    oklch(80.8% 0.106 310.8)

  5. Step 400

    400

    #C17FED

    oklch(70.7% 0.168 310.4)

  6. Step 500

    500

    #B258E7

    oklch(63.1% 0.215 310.7)

  7. Step 600

    600

    #9D35D5

    oklch(55.5% 0.234 310.5)

  8. Step 700

    700

    #8625B9

    oklch(49.1% 0.217 310.2)

  9. Step 800

    800 (this color)

    #742A9D

    oklch(45% 0.18 310.5)

  10. Step 900

    900

    #592377

    oklch(37.7% 0.141 310.9)

  11. Step 950

    950

    #341646

    oklch(27% 0.09 310.6)

Export this scale for Tailwind in the Tailwind colors tool

#742A9D 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)#004CA00.153
Deuteranopia (no green cones)#14509B0.149
Tritanopia (no blue cones)#6E44610.123
Achromatopsia (no color)#4F4F4F0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #742A9D

    #742A9D

    oklch(45% 0.18 310.5)

  • #3D6200

    #3D6200

    oklch(45.1% 0.122 130.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #742A9D

    #742A9D

    oklch(45% 0.18 310.5)

  • #493EB5

    #493EB5

    oklch(45.1% 0.181 280.5)

  • #901573

    #901573

    oklch(45% 0.18 340.3)

Open the analogous palette in the generator

Split complementary

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

  • #742A9D

    #742A9D

    oklch(45% 0.18 310.5)

  • #615600

    #615600

    oklch(45% 0.094 100.8)

  • #006642

    #006642

    oklch(45% 0.101 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #742A9D

    #742A9D

    oklch(45% 0.18 310.5)

  • #774A00

    #774A00

    oklch(45% 0.097 70.1)

  • #00635F

    #00635F

    oklch(45.1% 0.078 189.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #742A9D

    #742A9D

    oklch(45% 0.18 310.5)

  • #923100

    #923100

    oklch(45.1% 0.14 40.6)

  • #3D6200

    #3D6200

    oklch(45.1% 0.122 130.5)

  • #005F75

    #005F75

    oklch(44.9% 0.082 220.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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