#7F6AF0

Closest named color: Medium Slate Blue (#7B68EE). oklch(61.2% 0.193 286.4), rgb(127, 106, 240).

Aa

Black text reads best on this color (5.22:1).

About this color

#7F6AF0 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.193 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.009 away. Black text reads best on it, at 5.22:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.193)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.22:1
White text4.02:1

Values

HEX#7F6AF0
RGBrgb(127, 106, 240)
HSLhsl(249, 82%, 68%)
OKLCHoklch(61.2% 0.193 286.4)

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 #7F6AF0 4.02:1 AA large text Lc -72.7 Content text, not long reading
Black text on #7F6AF0 5.22:1 AA Lc 36.9 Non-text elements, placeholder text
#7F6AF0 text on white 4.02:1 AA large text Lc 67.2 Content text, not long reading
#7F6AF0 text on black 5.22:1 AA Lc -34.5 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FC

    oklch(93.7% 0.027 285.9)

  3. Step 200

    200

    #D6D5FB

    oklch(88.6% 0.052 286.5)

  4. Step 300

    300

    #BBB8FB

    oklch(80.9% 0.094 286.1)

  5. Step 400

    400

    #9A90FA

    oklch(70.7% 0.152 286.1)

  6. Step 500

    500 (this color)

    #7F6AF0

    oklch(61.2% 0.193 286.4)

  7. Step 600

    600

    #7053E5

    oklch(55.5% 0.21 286.5)

  8. Step 700

    700

    #5E42C7

    oklch(49% 0.196 286.4)

  9. Step 800

    800

    #4D38A1

    oklch(42.8% 0.162 286.6)

  10. Step 900

    900

    #3F3280

    oklch(37.7% 0.126 286.3)

  11. Step 950

    950

    #251E4B

    oklch(27% 0.08 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F6AF0 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)#1182F50.105
Deuteranopia (no green cones)#0B7BED0.105
Tritanopia (no blue cones)#5988A30.162
Achromatopsia (no color)#7F7F7F0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F6AF0

    #7F6AF0

    oklch(61.2% 0.193 286.4)

  • #8E8800

    #8E8800

    oklch(61.2% 0.131 106.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F6AF0

    #7F6AF0

    oklch(61.2% 0.193 286.4)

  • #2181F4

    #2181F4

    oklch(61.3% 0.193 256.3)

  • #B056D0

    #B056D0

    oklch(61.3% 0.194 316.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F6AF0

    #7F6AF0

    oklch(61.2% 0.193 286.4)

  • #AF7700

    #AF7700

    oklch(61.2% 0.128 76)

  • #489B00

    #489B00

    oklch(61.3% 0.184 136.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F6AF0

    #7F6AF0

    oklch(61.2% 0.193 286.4)

  • #D35A00

    #D35A00

    oklch(61.3% 0.172 46.2)

  • #009B73

    #009B73

    oklch(61.2% 0.126 166.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F6AF0

    #7F6AF0

    oklch(61.2% 0.193 286.4)

  • #DF425A

    #DF425A

    oklch(61.2% 0.193 16.4)

  • #8E8800

    #8E8800

    oklch(61.2% 0.131 106.6)

  • #009799

    #009799

    oklch(61.3% 0.104 196.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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