#838AED

Closest named color: Perrywinkle (#8F8CE7). oklch(67.1% 0.145 278.7), rgb(131, 138, 237).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.145)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.82:1
White text3.07:1

Values

HEX#838AED
RGBrgb(131, 138, 237)
HSLhsl(236, 75%, 72%)
OKLCHoklch(67.1% 0.145 278.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 #838AED 3.07:1 AA large text Lc -62.9 Content text, not long reading
Black text on #838AED 6.82:1 AA Lc 46.5 Large or bold text, headings
#838AED text on white 3.07:1 AA large text Lc 57.6 Large or bold text, headings
#838AED text on black 6.82:1 AA Lc -44.2 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

    #D1D6FB

    oklch(88.4% 0.051 279.2)

  4. Step 300

    300

    #B3BBFB

    oklch(80.9% 0.091 278.6)

  5. Step 400

    400 (this color)

    #838AED

    oklch(67.1% 0.145 278.7)

  6. Step 500

    500

    #7477F6

    oklch(63.1% 0.186 278.6)

  7. Step 600

    600

    #5F5CE5

    oklch(55.6% 0.202 278.6)

  8. Step 700

    700

    #4F4AC7

    oklch(49% 0.188 278.7)

  9. Step 800

    800

    #403EA1

    oklch(42.7% 0.156 278.4)

  10. Step 900

    900

    #363680

    oklch(37.7% 0.122 278.8)

  11. Step 950

    950

    #1F204B

    oklch(26.9% 0.078 278.8)

Export this scale for Tailwind in the Tailwind colors tool

#838AED 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)#6497F10.045
Deuteranopia (no green cones)#5D8FEB0.046
Tritanopia (no blue cones)#5F9EB00.127
Achromatopsia (no color)#9393930.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #838AED

    #838AED

    oklch(67.1% 0.145 278.7)

  • #AC9600

    #AC9600

    oklch(67.2% 0.139 98.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #838AED

    #838AED

    oklch(67.1% 0.145 278.7)

  • #419BEA

    #419BEA

    oklch(67.2% 0.145 248.4)

  • #AF7BD9

    #AF7BD9

    oklch(67.2% 0.144 308.5)

Open the analogous palette in the generator

Split complementary

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

  • #838AED

    #838AED

    oklch(67.1% 0.145 278.7)

  • #CE8206

    #CE8206

    oklch(67.1% 0.145 68.8)

  • #7AA63A

    #7AA63A

    oklch(67.1% 0.145 128.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #838AED

    #838AED

    oklch(67.1% 0.145 278.7)

  • #DF724E

    #DF724E

    oklch(67.1% 0.145 38.8)

  • #25B074

    #25B074

    oklch(67.2% 0.145 158.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #838AED

    #838AED

    oklch(67.1% 0.145 278.7)

  • #DF6B83

    #DF6B83

    oklch(67.2% 0.146 8.9)

  • #AC9600

    #AC9600

    oklch(67.2% 0.139 98.7)

  • #00ACA4

    #00ACA4

    oklch(67.1% 0.116 188.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #838AED.

Similar named colors

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

Use #838AED 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.