#B28CE8

Closest named color: Pale Purple (#B790D4). oklch(71.1% 0.136 302.1), rgb(178, 140, 232).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.80:1
White text2.68:1

Values

HEX#B28CE8
RGBrgb(178, 140, 232)
HSLhsl(265, 67%, 73%)
OKLCHoklch(71.1% 0.136 302.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 #B28CE8 2.68:1 Fails Lc -57.3 Large or bold text, headings
Black text on #B28CE8 7.80:1 AAA Lc 51.9 Large or bold text, headings
#B28CE8 text on white 2.68:1 Fails Lc 52.1 Large or bold text, headings
#B28CE8 text on black 7.80:1 AAA Lc -49.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DFD2F4

    oklch(88.5% 0.048 302.8)

  4. Step 300

    300

    #CBB4EF

    oklch(80.9% 0.085 302.4)

  5. Step 400

    400 (this color)

    #B28CE8

    oklch(71.1% 0.136 302.1)

  6. Step 500

    500

    #9E6ADF

    oklch(63% 0.174 302.2)

  7. Step 600

    600

    #894FCD

    oklch(55.6% 0.188 301.8)

  8. Step 700

    700

    #753EB1

    oklch(49.1% 0.176 302.3)

  9. Step 800

    800

    #5F348F

    oklch(42.6% 0.145 302.4)

  10. Step 900

    900

    #4D2F72

    oklch(37.6% 0.112 301.9)

  11. Step 950

    950

    #2D1C43

    oklch(26.9% 0.072 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#B28CE8 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)#759DEB0.088
Deuteranopia (no green cones)#7D9DE60.082
Tritanopia (no blue cones)#A99BAF0.104
Achromatopsia (no color)#9E9E9E0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #B28CE8

    #B28CE8

    oklch(71.1% 0.136 302.1)

  • #94AF45

    #94AF45

    oklch(71.2% 0.136 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B28CE8

    #B28CE8

    oklch(71.1% 0.136 302.1)

  • #859BF6

    #859BF6

    oklch(71.1% 0.135 272.3)

  • #D380C7

    #D380C7

    oklch(71.1% 0.136 332.3)

Open the analogous palette in the generator

Split complementary

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

  • #B28CE8

    #B28CE8

    oklch(71.1% 0.136 302.1)

  • #C09E24

    #C09E24

    oklch(71% 0.135 92)

  • #56BA77

    #56BA77

    oklch(71.2% 0.136 152.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B28CE8

    #B28CE8

    oklch(71.1% 0.136 302.1)

  • #DD8D3C

    #DD8D3C

    oklch(71.2% 0.135 62.5)

  • #00BBA8

    #00BBA8

    oklch(71.1% 0.127 182.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B28CE8

    #B28CE8

    oklch(71.1% 0.136 302.1)

  • #EA7F6B

    #EA7F6B

    oklch(71.1% 0.136 31.8)

  • #94AF45

    #94AF45

    oklch(71.2% 0.136 122)

  • #00B6CF

    #00B6CF

    oklch(71.2% 0.124 211.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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