#B398EB

Closest named color: Pale Purple (#B790D4). oklch(73.5% 0.12 298.4), rgb(179, 152, 235).

Aa

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

About this color

#B398EB is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.120 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.035 away. Black text reads best on it, at 8.60:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.60:1
White text2.43:1

Values

HEX#B398EB
RGBrgb(179, 152, 235)
HSLhsl(260, 67%, 76%)
OKLCHoklch(73.5% 0.12 298.4)

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 #B398EB 2.43:1 Fails Lc -52.9 Large or bold text, headings
Black text on #B398EB 8.60:1 AAA Lc 56.1 Large or bold text, headings
#B398EB text on white 2.43:1 Fails Lc 47.9 Large or bold text, headings
#B398EB text on black 8.60:1 AAA Lc -54.1 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DCD4F2

    oklch(88.6% 0.042 297.7)

  4. Step 300

    300

    #C6B7EB

    oklch(80.9% 0.074 297.9)

  5. Step 400

    400 (this color)

    #B398EB

    oklch(73.5% 0.12 298.4)

  6. Step 500

    500

    #9671D9

    oklch(63% 0.154 298.3)

  7. Step 600

    600

    #8157C6

    oklch(55.5% 0.167 298.2)

  8. Step 700

    700

    #6E46AB

    oklch(49% 0.156 298.8)

  9. Step 800

    800

    #593B8B

    oklch(42.8% 0.128 298.1)

  10. Step 900

    900

    #49336F

    oklch(37.7% 0.101 298.4)

  11. Step 950

    950

    #2B1E41

    oklch(26.9% 0.064 299.2)

Export this scale for Tailwind in the Tailwind colors tool

#B398EB 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)#84A6EE0.069
Deuteranopia (no green cones)#88A5E90.065
Tritanopia (no blue cones)#A8A6B70.096
Achromatopsia (no color)#A6A6A60.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #B398EB

    #B398EB

    oklch(73.5% 0.12 298.4)

  • #A2B457

    #A2B457

    oklch(73.6% 0.121 118.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B398EB

    #B398EB

    oklch(73.5% 0.12 298.4)

  • #89A6F6

    #89A6F6

    oklch(73.6% 0.121 268.2)

  • #D38DCF

    #D38DCF

    oklch(73.5% 0.121 328.7)

Open the analogous palette in the generator

Split complementary

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

  • #B398EB

    #B398EB

    oklch(73.5% 0.12 298.4)

  • #C9A545

    #C9A545

    oklch(73.6% 0.121 88.4)

  • #71BE7E

    #71BE7E

    oklch(73.5% 0.12 148.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B398EB

    #B398EB

    oklch(73.5% 0.12 298.4)

  • #E19558

    #E19558

    oklch(73.4% 0.12 58.1)

  • #39C2AA

    #39C2AA

    oklch(73.6% 0.12 178.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B398EB

    #B398EB

    oklch(73.5% 0.12 298.4)

  • #EB8B7E

    #EB8B7E

    oklch(73.5% 0.12 28.5)

  • #A2B457

    #A2B457

    oklch(73.6% 0.121 118.5)

  • #24BED1

    #24BED1

    oklch(73.6% 0.12 208.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #B398EB 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.