#938FEB

Closest named color: Perrywinkle (#8F8CE7). oklch(69.2% 0.133 284.3), rgb(147, 143, 235).

Aa

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

About this color

#938FEB is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.133 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.011 away. Black text reads best on it, at 7.36:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.36:1
White text2.84:1

Values

HEX#938FEB
RGBrgb(147, 143, 235)
HSLhsl(243, 70%, 74%)
OKLCHoklch(69.2% 0.133 284.3)

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 #938FEB 2.84:1 Fails Lc -59.8 Large or bold text, headings
Black text on #938FEB 7.36:1 AAA Lc 49.5 Large or bold text, headings
#938FEB text on white 2.84:1 Fails Lc 54.5 Large or bold text, headings
#938FEB text on black 7.36:1 AAA Lc -47.3 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FA

    oklch(93.6% 0.024 283.4)

  3. Step 200

    200

    #D5D6F7

    oklch(88.6% 0.045 284.1)

  4. Step 300

    300

    #BABAF5

    oklch(81% 0.083 284.4)

  5. Step 400

    400 (this color)

    #938FEB

    oklch(69.2% 0.133 284.3)

  6. Step 500

    500

    #8076EB

    oklch(63.1% 0.17 284.3)

  7. Step 600

    600

    #6B5CD9

    oklch(55.6% 0.184 284.1)

  8. Step 700

    700

    #5A4ABC

    oklch(49% 0.172 284.5)

  9. Step 800

    800

    #493E98

    oklch(42.7% 0.142 284.2)

  10. Step 900

    900

    #3D3679

    oklch(37.8% 0.11 284.5)

  11. Step 950

    950

    #232047

    oklch(27% 0.07 284.1)

Export this scale for Tailwind in the Tailwind colors tool

#938FEB 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)#709CEF0.051
Deuteranopia (no green cones)#6D96E90.050
Tritanopia (no blue cones)#7BA1B20.115
Achromatopsia (no color)#9999990.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #938FEB

    #938FEB

    oklch(69.2% 0.133 284.3)

  • #AA9F29

    #AA9F29

    oklch(69.1% 0.133 103.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #938FEB

    #938FEB

    oklch(69.2% 0.133 284.3)

  • #5E9EEC

    #5E9EEC

    oklch(69% 0.133 254.3)

  • #BA81D5

    #BA81D5

    oklch(69.1% 0.134 314.3)

Open the analogous palette in the generator

Split complementary

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

  • #938FEB

    #938FEB

    oklch(69.2% 0.133 284.3)

  • #CC8E28

    #CC8E28

    oklch(69.2% 0.133 74.5)

  • #78AE55

    #78AE55

    oklch(69.3% 0.133 134.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #938FEB

    #938FEB

    oklch(69.2% 0.133 284.3)

  • #DF7E53

    #DF7E53

    oklch(69.1% 0.133 43.9)

  • #2FB586

    #2FB586

    oklch(69.1% 0.133 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #938FEB

    #938FEB

    oklch(69.2% 0.133 284.3)

  • #E27682

    #E27682

    oklch(69.1% 0.134 14.2)

  • #AA9F29

    #AA9F29

    oklch(69.1% 0.133 103.8)

  • #00B2B2

    #00B2B2

    oklch(69.1% 0.118 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #938FEB 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.