#7F6DFE

Closest named color: Medium Slate Blue (#7B68EE). oklch(62.7% 0.207 284.3), rgb(127, 109, 254).

Aa

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

About this color

#7F6DFE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.207 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.027 away. Black text reads best on it, at 5.52:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.207)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.52:1
White text3.80:1

Values

HEX#7F6DFE
RGBrgb(127, 109, 254)
HSLhsl(247, 99%, 71%)
OKLCHoklch(62.7% 0.207 284.3)

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 #7F6DFE 3.80:1 AA large text Lc -70.7 Content text, not long reading
Black text on #7F6DFE 5.52:1 AA Lc 38.9 Non-text elements, placeholder text
#7F6DFE text on white 3.80:1 AA large text Lc 65.2 Content text, not long reading
#7F6DFE text on black 5.52:1 AA Lc -36.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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D4D5FE

    oklch(88.5% 0.056 284.1)

  4. Step 300

    300

    #B9B8FF

    oklch(80.9% 0.1 284.6)

  5. Step 400

    400

    #9790FF

    oklch(70.8% 0.159 284.4)

  6. Step 500

    500 (this color)

    #7F6DFE

    oklch(62.7% 0.207 284.3)

  7. Step 600

    600

    #6C50EF

    oklch(55.6% 0.226 284.3)

  8. Step 700

    700

    #5B3FD0

    oklch(49.1% 0.21 284.4)

  9. Step 800

    800

    #4A36A8

    oklch(42.8% 0.173 284.4)

  10. Step 900

    900

    #3D3185

    oklch(37.8% 0.135 284.4)

  11. Step 950

    950

    #231E4E

    oklch(27.1% 0.085 283.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F6DFE 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)#0087FF0.106
Deuteranopia (no green cones)#007EFB0.103
Tritanopia (no blue cones)#4F8EAB0.175
Achromatopsia (no color)#8383830.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F6DFE

    #7F6DFE

    oklch(62.7% 0.207 284.3)

  • #968B00

    #968B00

    oklch(62.7% 0.132 104)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F6DFE

    #7F6DFE

    oklch(62.7% 0.207 284.3)

  • #0086FD

    #0086FD

    oklch(62.6% 0.202 254.3)

  • #B557DD

    #B557DD

    oklch(62.8% 0.207 314.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F6DFE

    #7F6DFE

    oklch(62.7% 0.207 284.3)

  • #B77A00

    #B77A00

    oklch(62.7% 0.133 74.2)

  • #559E00

    #559E00

    oklch(62.7% 0.181 134.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F6DFE

    #7F6DFE

    oklch(62.7% 0.207 284.3)

  • #DD5A00

    #DD5A00

    oklch(62.8% 0.181 44.5)

  • #00A173

    #00A173

    oklch(62.8% 0.133 164.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F6DFE

    #7F6DFE

    oklch(62.7% 0.207 284.3)

  • #EA3D60

    #EA3D60

    oklch(62.7% 0.208 14.4)

  • #968B00

    #968B00

    oklch(62.7% 0.132 104)

  • #009C9C

    #009C9C

    oklch(62.7% 0.107 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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