#B397E9

Closest named color: Pale Purple (#B790D4). oklch(73.2% 0.119 299.1), rgb(179, 151, 233).

Aa

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

About this color

#B397E9 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.032 away. Black text reads best on it, at 8.52:1.

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

Values

HEX#B397E9
RGBrgb(179, 151, 233)
HSLhsl(260, 65%, 75%)
OKLCHoklch(73.2% 0.119 299.1)

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 #B397E9 2.46:1 Fails Lc -53.4 Large or bold text, headings
Black text on #B397E9 8.52:1 AAA Lc 55.6 Large or bold text, headings
#B397E9 text on white 2.46:1 Fails Lc 48.4 Large or bold text, headings
#B397E9 text on black 8.52:1 AAA Lc -53.6 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

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DCD4F1

    oklch(88.5% 0.04 298.2)

  4. Step 300

    300

    #C7B6EB

    oklch(80.8% 0.076 299.4)

  5. Step 400

    400 (this color)

    #B397E9

    oklch(73.2% 0.119 299.1)

  6. Step 500

    500

    #9771D8

    oklch(63.1% 0.153 299)

  7. Step 600

    600

    #8257C5

    oklch(55.5% 0.166 298.9)

  8. Step 700

    700

    #6E46AA

    oklch(49% 0.155 299)

  9. Step 800

    800

    #5A3B8A

    oklch(42.8% 0.127 299.1)

  10. Step 900

    900

    #4A336E

    oklch(37.7% 0.099 299.6)

  11. Step 950

    950

    #2B1E41

    oklch(26.9% 0.064 299.2)

Export this scale for Tailwind in the Tailwind colors tool

#B397E9 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)#83A5EC0.070
Deuteranopia (no green cones)#88A4E70.065
Tritanopia (no blue cones)#A9A4B50.095
Achromatopsia (no color)#A5A5A50.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #B397E9

    #B397E9

    oklch(73.2% 0.119 299.1)

  • #A0B358

    #A0B358

    oklch(73.2% 0.119 119.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B397E9

    #B397E9

    oklch(73.2% 0.119 299.1)

  • #8AA5F4

    #8AA5F4

    oklch(73.3% 0.119 269)

  • #D28CCD

    #D28CCD

    oklch(73.2% 0.12 329.2)

Open the analogous palette in the generator

Split complementary

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

  • #B397E9

    #B397E9

    oklch(73.2% 0.119 299.1)

  • #C7A445

    #C7A445

    oklch(73.2% 0.12 88.7)

  • #6FBD7F

    #6FBD7F

    oklch(73.2% 0.118 149.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B397E9

    #B397E9

    oklch(73.2% 0.119 299.1)

  • #E09557

    #E09557

    oklch(73.3% 0.12 58.9)

  • #38C1AA

    #38C1AA

    oklch(73.3% 0.12 179)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B397E9

    #B397E9

    oklch(73.2% 0.119 299.1)

  • #EA8A7C

    #EA8A7C

    oklch(73.2% 0.12 29.1)

  • #A0B358

    #A0B358

    oklch(73.2% 0.119 119.2)

  • #26BDD1

    #26BDD1

    oklch(73.4% 0.12 208.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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