#808CEC

Closest named color: Perrywinkle (#8F8CE7). oklch(67.3% 0.142 276.5), rgb(128, 140, 236).

Aa

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

About this color

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

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

Values

HEX#808CEC
RGBrgb(128, 140, 236)
HSLhsl(233, 74%, 71%)
OKLCHoklch(67.3% 0.142 276.5)

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 #808CEC 3.05:1 AA large text Lc -62.6 Content text, not long reading
Black text on #808CEC 6.88:1 AA Lc 46.8 Large or bold text, headings
#808CEC text on white 3.05:1 AA large text Lc 57.2 Large or bold text, headings
#808CEC text on black 6.88:1 AA Lc -44.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 400.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D0D7FA

    oklch(88.5% 0.049 276.4)

  4. Step 300

    300

    #B1BCFA

    oklch(80.9% 0.089 276.4)

  5. Step 400

    400 (this color)

    #808CEC

    oklch(67.3% 0.142 276.5)

  6. Step 500

    500

    #7079F4

    oklch(63% 0.181 276.7)

  7. Step 600

    600

    #5A5FE3

    oklch(55.7% 0.196 276.3)

  8. Step 700

    700

    #4B4DC5

    oklch(49.1% 0.183 276.6)

  9. Step 800

    800

    #3D40A0

    oklch(42.8% 0.152 276.5)

  10. Step 900

    900

    #33387F

    oklch(37.8% 0.118 276.1)

  11. Step 950

    950

    #1E214A

    oklch(27% 0.075 277)

Export this scale for Tailwind in the Tailwind colors tool

#808CEC 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)#6898F00.038
Deuteranopia (no green cones)#5F8FEA0.039
Tritanopia (no blue cones)#59A0B10.125
Achromatopsia (no color)#9494940.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #808CEC

    #808CEC

    oklch(67.3% 0.142 276.5)

  • #AF9500

    #AF9500

    oklch(67.3% 0.139 96.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #808CEC

    #808CEC

    oklch(67.3% 0.142 276.5)

  • #3F9CE8

    #3F9CE8

    oklch(67.2% 0.143 246.9)

  • #AC7DDA

    #AC7DDA

    oklch(67.3% 0.141 306.3)

Open the analogous palette in the generator

Split complementary

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

  • #808CEC

    #808CEC

    oklch(67.3% 0.142 276.5)

  • #CF821A

    #CF821A

    oklch(67.3% 0.142 66.8)

  • #7FA539

    #7FA539

    oklch(67.2% 0.142 126.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #808CEC

    #808CEC

    oklch(67.3% 0.142 276.5)

  • #DF7355

    #DF7355

    oklch(67.4% 0.142 36.4)

  • #35AF71

    #35AF71

    oklch(67.2% 0.141 156.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #808CEC

    #808CEC

    oklch(67.3% 0.142 276.5)

  • #DD6D88

    #DD6D88

    oklch(67.3% 0.142 6.4)

  • #AF9500

    #AF9500

    oklch(67.3% 0.139 96.6)

  • #00ADA1

    #00ADA1

    oklch(67.3% 0.118 186.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #808CEC 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.