#7F7CD8

Closest named color: Medium Purple (#9370DB). oklch(63% 0.136 283.2), rgb(127, 124, 216).

Aa

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

About this color

#7F7CD8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.136 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.041 away. Black text reads best on it, at 5.77:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.77:1
White text3.63:1

Values

HEX#7F7CD8
RGBrgb(127, 124, 216)
HSLhsl(242, 54%, 67%)
OKLCHoklch(63% 0.136 283.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 #7F7CD8 3.63:1 AA large text Lc -69.3 Content text, not long reading
Black text on #7F7CD8 5.77:1 AA Lc 40.3 Non-text elements, placeholder text
#7F7CD8 text on white 3.63:1 AA large text Lc 63.8 Content text, not long reading
#7F7CD8 text on black 5.77:1 AA Lc -37.9 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D5D7F2

    oklch(88.6% 0.037 282.2)

  4. Step 300

    300

    #BABCEB

    oklch(81% 0.066 282.9)

  5. Step 400

    400

    #9798E1

    oklch(70.7% 0.106 282.7)

  6. Step 500

    500 (this color)

    #7F7CD8

    oklch(63% 0.136 283.2)

  7. Step 600

    600

    #6A64C6

    oklch(55.7% 0.148 283.3)

  8. Step 700

    700

    #5852AB

    oklch(49% 0.138 283.1)

  9. Step 800

    800

    #48448A

    oklch(42.7% 0.113 283.1)

  10. Step 900

    900

    #3C3A6F

    oklch(37.8% 0.089 283)

  11. Step 950

    950

    #232241

    oklch(27% 0.057 283.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F7CD8 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)#5B89DB0.052
Deuteranopia (no green cones)#5783D60.052
Tritanopia (no blue cones)#648E9F0.117
Achromatopsia (no color)#8686860.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7CD8

    #7F7CD8

    oklch(63% 0.136 283.2)

  • #988C00

    #988C00

    oklch(63.1% 0.133 103.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7CD8

    #7F7CD8

    oklch(63% 0.136 283.2)

  • #478BD9

    #478BD9

    oklch(62.9% 0.137 253.5)

  • #A66EC3

    #A66EC3

    oklch(63% 0.137 313.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F7CD8

    #7F7CD8

    oklch(63% 0.136 283.2)

  • #B97A00

    #B97A00

    oklch(63% 0.134 73.2)

  • #679A3D

    #679A3D

    oklch(63% 0.136 133.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7CD8

    #7F7CD8

    oklch(63% 0.136 283.2)

  • #CB6A3F

    #CB6A3F

    oklch(62.9% 0.136 43.5)

  • #00A271

    #00A271

    oklch(63% 0.136 163)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7CD8

    #7F7CD8

    oklch(63% 0.136 283.2)

  • #CD6271

    #CD6271

    oklch(62.9% 0.136 13.1)

  • #988C00

    #988C00

    oklch(63.1% 0.133 103.5)

  • #009D9B

    #009D9B

    oklch(62.9% 0.108 193.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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