#8A8CFB

Closest named color: Lavender Blue (#8B88F8). oklch(68.8% 0.161 280.5), rgb(138, 140, 251).

Aa

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

About this color

#8A8CFB is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.161 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.010 away. Black text reads best on it, at 7.22:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.161)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.22:1
White text2.90:1

Values

HEX#8A8CFB
RGBrgb(138, 140, 251)
HSLhsl(239, 93%, 76%)
OKLCHoklch(68.8% 0.161 280.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 #8A8CFB 2.90:1 Fails Lc -60.6 Content text, not long reading
Black text on #8A8CFB 7.22:1 AAA Lc 48.8 Large or bold text, headings
#8A8CFB text on white 2.90:1 Fails Lc 55.2 Large or bold text, headings
#8A8CFB text on black 7.22:1 AAA Lc -46.6 Large or bold text, headings

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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E6E8FE

    oklch(93.6% 0.03 281.7)

  3. Step 200

    200

    #D2D6FE

    oklch(88.6% 0.055 280.7)

  4. Step 300

    300

    #B4BAFF

    oklch(80.9% 0.098 280.1)

  5. Step 400

    400 (this color)

    #8A8CFB

    oklch(68.8% 0.161 280.5)

  6. Step 500

    500

    #7772FF

    oklch(63% 0.203 280.4)

  7. Step 600

    600

    #6355F0

    oklch(55.7% 0.223 280.4)

  8. Step 700

    700

    #5343D1

    oklch(49.1% 0.208 280.6)

  9. Step 800

    800

    #4339A9

    oklch(42.7% 0.172 280.3)

  10. Step 900

    900

    #383386

    oklch(37.8% 0.134 280.5)

  11. Step 950

    950

    #201F4E

    oklch(27% 0.084 280.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A8CFB 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)#609CFF0.058
Deuteranopia (no green cones)#5993F80.058
Tritanopia (no blue cones)#64A3B70.140
Achromatopsia (no color)#9797970.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8CFB

    #8A8CFB

    oklch(68.8% 0.161 280.5)

  • #AF9C00

    #AF9C00

    oklch(68.8% 0.143 100.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8CFB

    #8A8CFB

    oklch(68.8% 0.161 280.5)

  • #409FFA

    #409FFA

    oklch(68.9% 0.161 250.6)

  • #BA7BE4

    #BA7BE4

    oklch(68.9% 0.161 310.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A8CFB

    #8A8CFB

    oklch(68.8% 0.161 280.5)

  • #D48800

    #D48800

    oklch(68.9% 0.149 70.4)

  • #78AE34

    #78AE34

    oklch(68.9% 0.161 130.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8CFB

    #8A8CFB

    oklch(68.8% 0.161 280.5)

  • #EB7346

    #EB7346

    oklch(68.8% 0.16 40.5)

  • #00B77A

    #00B77A

    oklch(68.8% 0.154 160.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8CFB

    #8A8CFB

    oklch(68.8% 0.161 280.5)

  • #EC6A83

    #EC6A83

    oklch(68.8% 0.162 10.4)

  • #AF9C00

    #AF9C00

    oklch(68.8% 0.143 100.6)

  • #00B2AC

    #00B2AC

    oklch(68.9% 0.119 190.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A8CFB 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.