#838FF4

Closest named color: Lavender Blue (#8B88F8). oklch(68.5% 0.148 276.6), rgb(131, 143, 244).

Aa

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

About this color

#838FF4 is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.148 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.021 away. Black text reads best on it, at 7.20:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.148)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.20:1
White text2.91:1

Values

HEX#838FF4
RGBrgb(131, 143, 244)
HSLhsl(234, 84%, 74%)
OKLCHoklch(68.5% 0.148 276.6)

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 #838FF4 2.91:1 Fails Lc -60.7 Content text, not long reading
Black text on #838FF4 7.20:1 AAA Lc 48.6 Large or bold text, headings
#838FF4 text on white 2.91:1 Fails Lc 55.4 Large or bold text, headings
#838FF4 text on black 7.20:1 AAA Lc -46.4 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D0D7FC

    oklch(88.6% 0.052 276.9)

  4. Step 300

    300

    #B1BCFD

    oklch(81% 0.093 276.7)

  5. Step 400

    400 (this color)

    #838FF4

    oklch(68.5% 0.148 276.6)

  6. Step 500

    500

    #6F78F9

    oklch(63.1% 0.189 276.5)

  7. Step 600

    600

    #5A5CE8

    oklch(55.5% 0.207 276.7)

  8. Step 700

    700

    #4B4BCA

    oklch(49.2% 0.192 276.7)

  9. Step 800

    800

    #3D3EA3

    oklch(42.6% 0.159 276.8)

  10. Step 900

    900

    #333781

    oklch(37.8% 0.123 276.5)

  11. Step 950

    950

    #1E214C

    oklch(27.1% 0.078 276.8)

Export this scale for Tailwind in the Tailwind colors tool

#838FF4 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)#689CF80.042
Deuteranopia (no green cones)#5F93F20.042
Tritanopia (no blue cones)#5AA4B60.130
Achromatopsia (no color)#9797970.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #838FF4

    #838FF4

    oklch(68.5% 0.148 276.6)

  • #B39900

    #B39900

    oklch(68.6% 0.141 96.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #838FF4

    #838FF4

    oklch(68.5% 0.148 276.6)

  • #3DA0F0

    #3DA0F0

    oklch(68.5% 0.149 246.9)

  • #B17FE1

    #B17FE1

    oklch(68.5% 0.148 306.4)

Open the analogous palette in the generator

Split complementary

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

  • #838FF4

    #838FF4

    oklch(68.5% 0.148 276.6)

  • #D68410

    #D68410

    oklch(68.5% 0.149 66.3)

  • #82AA37

    #82AA37

    oklch(68.6% 0.149 126.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #838FF4

    #838FF4

    oklch(68.5% 0.148 276.6)

  • #E67454

    #E67454

    oklch(68.5% 0.149 36.6)

  • #30B473

    #30B473

    oklch(68.4% 0.148 156.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #838FF4

    #838FF4

    oklch(68.5% 0.148 276.6)

  • #E46E8B

    #E46E8B

    oklch(68.5% 0.149 6.3)

  • #B39900

    #B39900

    oklch(68.6% 0.141 96.9)

  • #00B1A6

    #00B1A6

    oklch(68.5% 0.12 187)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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