#7C8CEB

Closest named color: Perrywinkle (#8F8CE7). oklch(66.9% 0.142 274.7), rgb(124, 140, 235).

Aa

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

About this color

#7C8CEB is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.142 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.026 away. Black text reads best on it, at 6.80:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.142)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.80:1
White text3.08:1

Values

HEX#7C8CEB
RGBrgb(124, 140, 235)
HSLhsl(231, 74%, 70%)
OKLCHoklch(66.9% 0.142 274.7)

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 #7C8CEB 3.08:1 AA large text Lc -63.0 Content text, not long reading
Black text on #7C8CEB 6.80:1 AA Lc 46.4 Large or bold text, headings
#7C8CEB text on white 3.08:1 AA large text Lc 57.6 Large or bold text, headings
#7C8CEB text on black 6.80:1 AA Lc -44.1 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 400.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CFD7FA

    oklch(88.4% 0.049 275.2)

  4. Step 300

    300

    #AFBDFA

    oklch(80.9% 0.088 274.3)

  5. Step 400

    400 (this color)

    #7C8CEB

    oklch(66.9% 0.142 274.7)

  6. Step 500

    500

    #6C7BF5

    oklch(63.2% 0.181 274.7)

  7. Step 600

    600

    #5660E3

    oklch(55.6% 0.196 274.7)

  8. Step 700

    700

    #474EC6

    oklch(49.1% 0.184 274.8)

  9. Step 800

    800

    #3A41A0

    oklch(42.7% 0.152 274.8)

  10. Step 900

    900

    #31387F

    oklch(37.7% 0.119 274.9)

  11. Step 950

    950

    #1C224A

    oklch(27% 0.074 274)

Export this scale for Tailwind in the Tailwind colors tool

#7C8CEB 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)#6797EF0.034
Deuteranopia (no green cones)#5D8EE90.036
Tritanopia (no blue cones)#52A0B00.126
Achromatopsia (no color)#9393930.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C8CEB

    #7C8CEB

    oklch(66.9% 0.142 274.7)

  • #B09300

    #B09300

    oklch(67% 0.138 94.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C8CEB

    #7C8CEB

    oklch(66.9% 0.142 274.7)

  • #389CE5

    #389CE5

    oklch(66.9% 0.141 244.7)

  • #A97DDA

    #A97DDA

    oklch(67% 0.14 304.7)

Open the analogous palette in the generator

Split complementary

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

  • #7C8CEB

    #7C8CEB

    oklch(66.9% 0.142 274.7)

  • #D0801E

    #D0801E

    oklch(67% 0.142 64.6)

  • #82A335

    #82A335

    oklch(66.9% 0.141 124.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C8CEB

    #7C8CEB

    oklch(66.9% 0.142 274.7)

  • #DE7157

    #DE7157

    oklch(67% 0.142 34.6)

  • #3AAE6D

    #3AAE6D

    oklch(67% 0.142 154.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C8CEB

    #7C8CEB

    oklch(66.9% 0.142 274.7)

  • #DB6C8A

    #DB6C8A

    oklch(66.9% 0.142 4.6)

  • #B09300

    #B09300

    oklch(67% 0.138 94.9)

  • #00AC9E

    #00AC9E

    oklch(66.9% 0.118 184.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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