#7D42CB

Closest named color: Bluey Purple (#6241C7). oklch(52.4% 0.201 299), rgb(125, 66, 203).

Aa

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

About this color

#7D42CB is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.201 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.049 away. White text reads best on it, at 5.97:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.201)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.51:1
White text5.97:1

Values

HEX#7D42CB
RGBrgb(125, 66, 203)
HSLhsl(266, 57%, 53%)
OKLCHoklch(52.4% 0.201 299)

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 #7D42CB 5.97:1 AA Lc -84.5 Fine for body text
Black text on #7D42CB 3.51:1 AA large text Lc 24.8 Dividers and decoration only
#7D42CB text on white 5.97:1 AA Lc 79.2 Fine for body text
#7D42CB text on black 3.51:1 AA large text Lc -22.6 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DDD2F7

    oklch(88.4% 0.052 298.9)

  4. Step 300

    300

    #C8B4F4

    oklch(80.9% 0.091 298.7)

  5. Step 400

    400

    #AE8AEE

    oklch(70.7% 0.146 299.2)

  6. Step 500

    500

    #9B69E8

    oklch(63.1% 0.186 299.2)

  7. Step 600

    600 (this color)

    #7D42CB

    oklch(52.4% 0.201 299)

  8. Step 700

    700

    #723CB9

    oklch(49% 0.187 299.2)

  9. Step 800

    800

    #5D3396

    oklch(42.7% 0.155 299.2)

  10. Step 900

    900

    #4C2E77

    oklch(37.7% 0.12 299.5)

  11. Step 950

    950

    #2C1C46

    oklch(27% 0.076 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#7D42CB 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)#0063CF0.139
Deuteranopia (no green cones)#0062C80.140
Tritanopia (no blue cones)#6B62810.152
Achromatopsia (no color)#6363630.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D42CB

    #7D42CB

    oklch(52.4% 0.201 299)

  • #637300

    #637300

    oklch(52.4% 0.123 118.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D42CB

    #7D42CB

    oklch(52.4% 0.201 299)

  • #3D59DC

    #3D59DC

    oklch(52.4% 0.202 269)

  • #A42CA1

    #A42CA1

    oklch(52.3% 0.202 329.1)

Open the analogous palette in the generator

Split complementary

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

  • #7D42CB

    #7D42CB

    oklch(52.4% 0.201 299)

  • #836600

    #836600

    oklch(52.4% 0.107 89.1)

  • #008035

    #008035

    oklch(52.4% 0.148 149)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D42CB

    #7D42CB

    oklch(52.4% 0.201 299)

  • #9D5500

    #9D5500

    oklch(52.4% 0.124 59.1)

  • #007C6B

    #007C6B

    oklch(52.5% 0.096 178.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D42CB

    #7D42CB

    oklch(52.4% 0.201 299)

  • #C41B14

    #C41B14

    oklch(52.5% 0.202 29)

  • #637300

    #637300

    oklch(52.4% 0.123 118.9)

  • #007886

    #007886

    oklch(52.4% 0.09 209)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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