#B397E8

Closest named color: Pale Purple (#B790D4). oklch(73.2% 0.118 299.4), rgb(179, 151, 232).

Aa

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

About this color

#B397E8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.118 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.030 away. Black text reads best on it, at 8.50:1.

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

Values

HEX#B397E8
RGBrgb(179, 151, 232)
HSLhsl(261, 64%, 75%)
OKLCHoklch(73.2% 0.118 299.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 #B397E8 2.46:1 Fails Lc -53.5 Large or bold text, headings
Black text on #B397E8 8.50:1 AAA Lc 55.6 Large or bold text, headings
#B397E8 text on white 2.46:1 Fails Lc 48.4 Large or bold text, headings
#B397E8 text on black 8.50:1 AAA Lc -53.5 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

    #DDD4F1

    oklch(88.6% 0.041 299.7)

  4. Step 300

    300

    #C7B7EA

    oklch(81% 0.073 299.1)

  5. Step 400

    400 (this color)

    #B397E8

    oklch(73.2% 0.118 299.4)

  6. Step 500

    500

    #9771D7

    oklch(63% 0.152 299.2)

  7. Step 600

    600

    #8357C4

    oklch(55.6% 0.165 299.7)

  8. Step 700

    700

    #6F47A9

    oklch(49.2% 0.152 299.6)

  9. Step 800

    800

    #5A3B89

    oklch(42.7% 0.126 299.4)

  10. Step 900

    900

    #4A336E

    oklch(37.7% 0.099 299.6)

  11. Step 950

    950

    #2B1E40

    oklch(26.9% 0.063 299.8)

Export this scale for Tailwind in the Tailwind colors tool

#B397E8 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)#84A5EB0.069
Deuteranopia (no green cones)#88A4E60.065
Tritanopia (no blue cones)#A9A4B50.093
Achromatopsia (no color)#A5A5A50.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #B397E8

    #B397E8

    oklch(73.2% 0.118 299.4)

  • #A0B359

    #A0B359

    oklch(73.2% 0.118 119.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B397E8

    #B397E8

    oklch(73.2% 0.118 299.4)

  • #8AA4F3

    #8AA4F3

    oklch(73.1% 0.119 269.4)

  • #D28DCC

    #D28DCC

    oklch(73.3% 0.117 329.7)

Open the analogous palette in the generator

Split complementary

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

  • #B397E8

    #B397E8

    oklch(73.2% 0.118 299.4)

  • #C6A447

    #C6A447

    oklch(73.2% 0.118 89)

  • #6FBD7F

    #6FBD7F

    oklch(73.2% 0.118 149.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B397E8

    #B397E8

    oklch(73.2% 0.118 299.4)

  • #DF9558

    #DF9558

    oklch(73.2% 0.118 58.9)

  • #3AC0AA

    #3AC0AA

    oklch(73.1% 0.118 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B397E8

    #B397E8

    oklch(73.2% 0.118 299.4)

  • #E98B7C

    #E98B7C

    oklch(73.2% 0.118 29.9)

  • #A0B359

    #A0B359

    oklch(73.2% 0.118 119.3)

  • #2ABCD0

    #2ABCD0

    oklch(73.1% 0.118 209.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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