#B298EA

Closest named color: Pale Purple (#B790D4). oklch(73.4% 0.119 298), rgb(178, 152, 234).

Aa

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

About this color

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

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

Values

HEX#B298EA
RGBrgb(178, 152, 234)
HSLhsl(259, 66%, 76%)
OKLCHoklch(73.4% 0.119 298)

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 #B298EA 2.44:1 Fails Lc -53.1 Large or bold text, headings
Black text on #B298EA 8.57:1 AAA Lc 55.9 Large or bold text, headings
#B298EA text on white 2.44:1 Fails Lc 48.1 Large or bold text, headings
#B298EA text on black 8.57:1 AAA Lc -53.9 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)

    #B298EA

    oklch(73.4% 0.119 298)

  6. Step 500

    500

    #9672D8

    oklch(63.1% 0.151 298.2)

  7. Step 600

    600

    #8158C6

    oklch(55.7% 0.165 298)

  8. Step 700

    700

    #6D47AB

    oklch(49.1% 0.154 298)

  9. Step 800

    800

    #593B8A

    oklch(42.7% 0.127 298.4)

  10. Step 900

    900

    #49336F

    oklch(37.7% 0.101 298.4)

  11. Step 950

    950

    #2A1F41

    oklch(27% 0.062 297)

Export this scale for Tailwind in the Tailwind colors tool

#B298EA 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.067
Deuteranopia (no green cones)#88A5E80.064
Tritanopia (no blue cones)#A7A6B60.097
Achromatopsia (no color)#A5A5A50.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #B298EA

    #B298EA

    oklch(73.4% 0.119 298)

  • #A2B357

    #A2B357

    oklch(73.4% 0.119 118.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B298EA

    #B298EA

    oklch(73.4% 0.119 298)

  • #89A6F4

    #89A6F4

    oklch(73.5% 0.118 267.9)

  • #D18DCF

    #D18DCF

    oklch(73.3% 0.119 327.7)

Open the analogous palette in the generator

Split complementary

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

  • #B298EA

    #B298EA

    oklch(73.4% 0.119 298)

  • #C8A447

    #C8A447

    oklch(73.4% 0.119 87.9)

  • #72BD7E

    #72BD7E

    oklch(73.3% 0.118 148.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B298EA

    #B298EA

    oklch(73.4% 0.119 298)

  • #E19559

    #E19559

    oklch(73.4% 0.119 57.8)

  • #3CC1A9

    #3CC1A9

    oklch(73.4% 0.119 178.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B298EA

    #B298EA

    oklch(73.4% 0.119 298)

  • #EA8B7E

    #EA8B7E

    oklch(73.4% 0.118 28.6)

  • #A2B357

    #A2B357

    oklch(73.4% 0.119 118.1)

  • #28BDD0

    #28BDD0

    oklch(73.3% 0.119 208.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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