#B398E7

Closest named color: Pale Purple (#B790D4). oklch(73.3% 0.115 299.3), rgb(179, 152, 231).

Aa

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

About this color

#B398E7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.115 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.56:1.

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

Values

HEX#B398E7
RGBrgb(179, 152, 231)
HSLhsl(261, 62%, 75%)
OKLCHoklch(73.3% 0.115 299.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 #B398E7 2.45:1 Fails Lc -53.2 Large or bold text, headings
Black text on #B398E7 8.56:1 AAA Lc 55.8 Large or bold text, headings
#B398E7 text on white 2.45:1 Fails Lc 48.2 Large or bold text, headings
#B398E7 text on black 8.56:1 AAA Lc -53.8 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

    #EBE7F6

    oklch(93.5% 0.021 298.2)

  3. Step 200

    200

    #DCD4F0

    oklch(88.5% 0.039 298.7)

  4. Step 300

    300

    #C7B7E9

    oklch(80.9% 0.071 299.4)

  5. Step 400

    400 (this color)

    #B398E7

    oklch(73.3% 0.115 299.3)

  6. Step 500

    500

    #9772D5

    oklch(63.1% 0.148 299.4)

  7. Step 600

    600

    #8259C2

    oklch(55.7% 0.159 299.2)

  8. Step 700

    700

    #6E48A8

    oklch(49.1% 0.149 299.1)

  9. Step 800

    800

    #5A3C88

    oklch(42.8% 0.123 299.4)

  10. Step 900

    900

    #49346D

    oklch(37.7% 0.096 298.7)

  11. Step 950

    950

    #2B1F40

    oklch(27.1% 0.061 299.1)

Export this scale for Tailwind in the Tailwind colors tool

#B398E7 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)#85A5EA0.067
Deuteranopia (no green cones)#8AA5E50.063
Tritanopia (no blue cones)#A9A5B50.092
Achromatopsia (no color)#A5A5A50.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #B398E7

    #B398E7

    oklch(73.3% 0.115 299.3)

  • #A0B35C

    #A0B35C

    oklch(73.3% 0.115 119.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B398E7

    #B398E7

    oklch(73.3% 0.115 299.3)

  • #8BA5F2

    #8BA5F2

    oklch(73.3% 0.116 269.2)

  • #D18ECC

    #D18ECC

    oklch(73.4% 0.115 329.3)

Open the analogous palette in the generator

Split complementary

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

  • #B398E7

    #B398E7

    oklch(73.3% 0.115 299.3)

  • #C6A54B

    #C6A54B

    oklch(73.4% 0.115 89.1)

  • #72BD81

    #72BD81

    oklch(73.4% 0.115 149.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B398E7

    #B398E7

    oklch(73.3% 0.115 299.3)

  • #DE965B

    #DE965B

    oklch(73.3% 0.115 59)

  • #40C0AA

    #40C0AA

    oklch(73.3% 0.115 179.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B398E7

    #B398E7

    oklch(73.3% 0.115 299.3)

  • #E88C7E

    #E88C7E

    oklch(73.3% 0.115 29.4)

  • #A0B35C

    #A0B35C

    oklch(73.3% 0.115 119.5)

  • #33BCD0

    #33BCD0

    oklch(73.3% 0.115 209.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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