#7242A1

Closest named color: Rebecca Purple (#663399). oklch(48.2% 0.15 304.7), rgb(114, 66, 161).

Aa

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

About this color

#7242A1 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.150 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.043 away. White text reads best on it, at 6.97:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.150)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text3.00:1
White text6.97:1

Values

HEX#7242A1
RGBrgb(114, 66, 161)
HSLhsl(270, 42%, 45%)
OKLCHoklch(48.2% 0.15 304.7)

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 #7242A1 6.97:1 AA Lc -88.8 Fine for body text
Black text on #7242A1 3.00:1 AA large text Lc 20.3 Dividers and decoration only
#7242A1 text on white 6.97:1 AA Lc 83.8 Fine for body text
#7242A1 text on black 3.00:1 AA large text Lc -18.2 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 700.

  1. Step 50

    50

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F6

    oklch(93.7% 0.021 304)

  3. Step 200

    200

    #DFD3EF

    oklch(88.5% 0.04 304.9)

  4. Step 300

    300

    #CBB5E7

    oklch(80.8% 0.073 304.8)

  5. Step 400

    400

    #B18DDB

    oklch(70.6% 0.117 304.8)

  6. Step 500

    500

    #9E6FD1

    oklch(63% 0.149 304.6)

  7. Step 600

    600

    #8955BE

    oklch(55.5% 0.162 304.5)

  8. Step 700

    700 (this color)

    #7242A1

    oklch(48.2% 0.15 304.7)

  9. Step 800

    800

    #5F3985

    oklch(42.7% 0.125 304.7)

  10. Step 900

    900

    #4E326A

    oklch(37.7% 0.097 305.3)

  11. Step 950

    950

    #2D1E3E

    oklch(27% 0.06 304.3)

Export this scale for Tailwind in the Tailwind colors tool

#7242A1 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)#1958A40.121
Deuteranopia (no green cones)#2E599F0.108
Tritanopia (no blue cones)#6A556B0.111
Achromatopsia (no color)#5959590.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #7242A1

    #7242A1

    oklch(48.2% 0.15 304.7)

  • #4F6900

    #4F6900

    oklch(48.2% 0.121 124.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7242A1

    #7242A1

    oklch(48.2% 0.15 304.7)

  • #4752B1

    #4752B1

    oklch(48.2% 0.15 274.4)

  • #8E357F

    #8E357F

    oklch(48.1% 0.15 334.8)

Open the analogous palette in the generator

Split complementary

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

  • #7242A1

    #7242A1

    oklch(48.2% 0.15 304.7)

  • #705D00

    #705D00

    oklch(48.3% 0.099 95.1)

  • #00713E

    #00713E

    oklch(48.2% 0.12 154.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7242A1

    #7242A1

    oklch(48.2% 0.15 304.7)

  • #874F00

    #874F00

    oklch(48.2% 0.108 65)

  • #006D64

    #006D64

    oklch(48.1% 0.085 185)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7242A1

    #7242A1

    oklch(48.2% 0.15 304.7)

  • #A13318

    #A13318

    oklch(48.1% 0.15 34.6)

  • #4F6900

    #4F6900

    oklch(48.2% 0.121 124.8)

  • #006A7C

    #006A7C

    oklch(48.2% 0.085 214.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7242A1 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.