#7F2F90

Closest named color: Warm Purple (#952E8F). oklch(46.2% 0.165 320.2), rgb(127, 47, 144).

Aa

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

About this color

#7F2F90 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.165 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.045 away. White text reads best on it, at 7.74:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.165)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.71:1
White text7.74:1

Values

HEX#7F2F90
RGBrgb(127, 47, 144)
HSLhsl(289, 51%, 37%)
OKLCHoklch(46.2% 0.165 320.2)

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 #7F2F90 7.74:1 AAA Lc -91.0 Preferred for body text
Black text on #7F2F90 2.71:1 Fails Lc 17.9 Dividers and decoration only
#7F2F90 text on white 7.74:1 AAA Lc 86.1 Fine for body text
#7F2F90 text on black 2.71:1 Fails Lc -15.9 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0EC

    oklch(88.5% 0.045 320.2)

  4. Step 300

    300

    #D8B0E1

    oklch(80.8% 0.08 320.1)

  5. Step 400

    400

    #C485D2

    oklch(70.7% 0.128 320.2)

  6. Step 500

    500

    #B464C6

    oklch(63.1% 0.164 320)

  7. Step 600

    600

    #9F48B2

    oklch(55.6% 0.177 320.1)

  8. Step 700

    700 (this color)

    #7F2F90

    oklch(46.2% 0.165 320.2)

  9. Step 800

    800

    #6F307C

    oklch(42.8% 0.136 320.5)

  10. Step 900

    900

    #5A2B64

    oklch(37.7% 0.107 320.4)

  11. Step 950

    950

    #351A3B

    oklch(27.1% 0.068 320.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F2F90 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)#104D930.165
Deuteranopia (no green cones)#37558E0.141
Tritanopia (no blue cones)#80405B0.103
Achromatopsia (no color)#5353530.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2F90

    #7F2F90

    oklch(46.2% 0.165 320.2)

  • #1C6B00

    #1C6B00

    oklch(46.2% 0.149 140.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2F90

    #7F2F90

    oklch(46.2% 0.165 320.2)

  • #5B3FAC

    #5B3FAC

    oklch(46.1% 0.166 290.2)

  • #962165

    #962165

    oklch(46.2% 0.165 350.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F2F90

    #7F2F90

    oklch(46.2% 0.165 320.2)

  • #5C5D00

    #5C5D00

    oklch(46.2% 0.101 110.5)

  • #006951

    #006951

    oklch(46.3% 0.092 170)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2F90

    #7F2F90

    oklch(46.2% 0.165 320.2)

  • #745100

    #745100

    oklch(46.1% 0.096 79.8)

  • #00656A

    #00656A

    oklch(46.1% 0.078 200.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2F90

    #7F2F90

    oklch(46.2% 0.165 320.2)

  • #8C3F00

    #8C3F00

    oklch(46.1% 0.122 50)

  • #1C6B00

    #1C6B00

    oklch(46.2% 0.149 140.1)

  • #006182

    #006182

    oklch(46.2% 0.092 230.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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