#B398EA

Closest named color: Pale Purple (#B790D4). oklch(73.5% 0.119 298.6), rgb(179, 152, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.59:1
White text2.44:1

Values

HEX#B398EA
RGBrgb(179, 152, 234)
HSLhsl(260, 66%, 76%)
OKLCHoklch(73.5% 0.119 298.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 #B398EA 2.44:1 Fails Lc -53.0 Large or bold text, headings
Black text on #B398EA 8.59:1 AAA Lc 56.0 Large or bold text, headings
#B398EA text on white 2.44:1 Fails Lc 48.0 Large or bold text, headings
#B398EA text on black 8.59:1 AAA Lc -54.0 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

    #DCD4F1

    oklch(88.5% 0.04 298.2)

  4. Step 300

    300

    #C6B7EB

    oklch(80.9% 0.074 297.9)

  5. Step 400

    400 (this color)

    #B398EA

    oklch(73.5% 0.119 298.6)

  6. Step 500

    500

    #9672D8

    oklch(63.1% 0.151 298.2)

  7. Step 600

    600

    #8257C5

    oklch(55.5% 0.166 298.9)

  8. Step 700

    700

    #6E47AA

    oklch(49.1% 0.153 298.8)

  9. Step 800

    800

    #593B8A

    oklch(42.7% 0.127 298.4)

  10. Step 900

    900

    #49336E

    oklch(37.6% 0.099 298.8)

  11. Step 950

    950

    #2B1F41

    oklch(27.2% 0.063 298.4)

Export this scale for Tailwind in the Tailwind colors tool

#B398EA 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)#84A6ED0.069
Deuteranopia (no green cones)#89A5E80.064
Tritanopia (no blue cones)#A9A5B60.095
Achromatopsia (no color)#A6A6A60.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #B398EA

    #B398EA

    oklch(73.5% 0.119 298.6)

  • #A2B458

    #A2B458

    oklch(73.6% 0.12 118.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B398EA

    #B398EA

    oklch(73.5% 0.119 298.6)

  • #8AA6F5

    #8AA6F5

    oklch(73.6% 0.119 268.5)

  • #D28DCE

    #D28DCE

    oklch(73.4% 0.119 328.7)

Open the analogous palette in the generator

Split complementary

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

  • #B398EA

    #B398EA

    oklch(73.5% 0.119 298.6)

  • #C8A547

    #C8A547

    oklch(73.6% 0.119 88.6)

  • #71BE7F

    #71BE7F

    oklch(73.5% 0.119 148.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B398EA

    #B398EA

    oklch(73.5% 0.119 298.6)

  • #E19658

    #E19658

    oklch(73.6% 0.12 59)

  • #3BC1AA

    #3BC1AA

    oklch(73.4% 0.119 178.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B398EA

    #B398EA

    oklch(73.5% 0.119 298.6)

  • #EB8B7E

    #EB8B7E

    oklch(73.5% 0.12 28.5)

  • #A2B458

    #A2B458

    oklch(73.6% 0.12 118.6)

  • #28BDD1

    #28BDD1

    oklch(73.4% 0.119 209)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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