#7F7CF2

Closest named color: Cornflower (#6A79F7). oklch(64.5% 0.172 281.6), rgb(127, 124, 242).

Aa

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

About this color

#7F7CF2 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.172 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.031 away. Black text reads best on it, at 6.06:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.172)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text6.06:1
White text3.46:1

Values

HEX#7F7CF2
RGBrgb(127, 124, 242)
HSLhsl(242, 82%, 72%)
OKLCHoklch(64.5% 0.172 281.6)

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 #7F7CF2 3.46:1 AA large text Lc -67.4 Content text, not long reading
Black text on #7F7CF2 6.06:1 AA Lc 42.1 Non-text elements, placeholder text
#7F7CF2 text on white 3.46:1 AA large text Lc 61.9 Content text, not long reading
#7F7CF2 text on black 6.06:1 AA Lc -39.8 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FA

    oklch(93.6% 0.024 283.4)

  3. Step 200

    200

    #D3D6F8

    oklch(88.5% 0.047 281.4)

  4. Step 300

    300

    #B7BBF6

    oklch(81% 0.083 281.3)

  5. Step 400

    400

    #9395F2

    oklch(70.7% 0.135 281.4)

  6. Step 500

    500 (this color)

    #7F7CF2

    oklch(64.5% 0.172 281.6)

  7. Step 600

    600

    #665DDB

    oklch(55.6% 0.186 281.7)

  8. Step 700

    700

    #554CBE

    oklch(49.1% 0.173 281.5)

  9. Step 800

    800

    #453F9A

    oklch(42.7% 0.144 281.4)

  10. Step 900

    900

    #3A377B

    oklch(37.9% 0.112 281.6)

  11. Step 950

    950

    #212148

    oklch(27.1% 0.071 280.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F7CF2 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)#478EF60.070
Deuteranopia (no green cones)#3F86EF0.072
Tritanopia (no blue cones)#5695AC0.147
Achromatopsia (no color)#8A8A8A0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7CF2

    #7F7CF2

    oklch(64.5% 0.172 281.6)

  • #9F8F00

    #9F8F00

    oklch(64.4% 0.135 101.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7CF2

    #7F7CF2

    oklch(64.5% 0.172 281.6)

  • #2890F2

    #2890F2

    oklch(64.6% 0.172 251.7)

  • #B06AD9

    #B06AD9

    oklch(64.6% 0.172 311.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F7CF2

    #7F7CF2

    oklch(64.5% 0.172 281.6)

  • #C17D00

    #C17D00

    oklch(64.5% 0.139 71.5)

  • #65A214

    #65A214

    oklch(64.6% 0.172 131.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7CF2

    #7F7CF2

    oklch(64.5% 0.172 281.6)

  • #E0622B

    #E0622B

    oklch(64.5% 0.171 41.7)

  • #00A872

    #00A872

    oklch(64.6% 0.143 161.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7CF2

    #7F7CF2

    oklch(64.5% 0.172 281.6)

  • #E15872

    #E15872

    oklch(64.5% 0.171 11.8)

  • #9F8F00

    #9F8F00

    oklch(64.4% 0.135 101.5)

  • #00A39F

    #00A39F

    oklch(64.6% 0.111 191.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7F7CF2.

Similar named colors

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

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