#7E258D

Closest named color: Dark Magenta (#8B008B). oklch(44.8% 0.175 321.5), rgb(126, 37, 141).

Aa

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

About this color

#7E258D is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.175 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Magenta (#8B008B), ΔE 0.038 away. White text reads best on it, at 8.27:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.175)
Temperaturein between
Nearest nameDark Magenta (#8B008B)
Black text2.53:1
White text8.27:1

Values

HEX#7E258D
RGBrgb(126, 37, 141)
HSLhsl(291, 58%, 35%)
OKLCHoklch(44.8% 0.175 321.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 #7E258D 8.27:1 AAA Lc -92.3 Preferred for body text
Black text on #7E258D 2.53:1 Fails Lc 16.4 Dividers and decoration only
#7E258D text on white 8.27:1 AAA Lc 87.6 Fine for body text
#7E258D text on black 2.53:1 Fails Lc -14.5 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F6

    oklch(93.6% 0.029 320.6)

  3. Step 200

    200

    #EBCDF0

    oklch(88.4% 0.057 321.4)

  4. Step 300

    300

    #E0ABE9

    oklch(81% 0.103 321.5)

  5. Step 400

    400

    #CE7BDD

    oklch(70.7% 0.163 321.3)

  6. Step 500

    500

    #C053D3

    oklch(63.1% 0.208 321.5)

  7. Step 600

    600

    #AC2FC0

    oklch(55.6% 0.227 321.7)

  8. Step 700

    700

    #931EA6

    oklch(49.1% 0.212 321.4)

  9. Step 800

    800 (this color)

    #7E258D

    oklch(44.8% 0.175 321.5)

  10. Step 900

    900

    #61206C

    oklch(37.7% 0.137 321.6)

  11. Step 950

    950

    #39143F

    oklch(27% 0.087 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E258D 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)#0048900.177
Deuteranopia (no green cones)#32528B0.153
Tritanopia (no blue cones)#7F38570.105
Achromatopsia (no color)#4E4E4E0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E258D

    #7E258D

    oklch(44.8% 0.175 321.5)

  • #0F6700

    #0F6700

    oklch(44.7% 0.149 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E258D

    #7E258D

    oklch(44.8% 0.175 321.5)

  • #5A37AB

    #5A37AB

    oklch(44.7% 0.175 291.6)

  • #95115F

    #95115F

    oklch(44.7% 0.175 351.6)

Open the analogous palette in the generator

Split complementary

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

  • #7E258D

    #7E258D

    oklch(44.8% 0.175 321.5)

  • #575900

    #575900

    oklch(44.7% 0.098 111.3)

  • #00644F

    #00644F

    oklch(44.8% 0.087 171.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E258D

    #7E258D

    oklch(44.8% 0.175 321.5)

  • #6E4E00

    #6E4E00

    oklch(44.7% 0.092 81.3)

  • #006166

    #006166

    oklch(44.8% 0.076 201)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E258D

    #7E258D

    oklch(44.8% 0.175 321.5)

  • #853E00

    #853E00

    oklch(44.9% 0.116 51.8)

  • #0F6700

    #0F6700

    oklch(44.7% 0.149 141.5)

  • #005D7E

    #005D7E

    oklch(44.9% 0.091 231.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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