#B27BE4

Closest named color: Light Purple (#BF77F6). oklch(68.1% 0.158 306.8), rgb(178, 123, 228).

Aa

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

About this color

#B27BE4 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.158 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.036 away. Black text reads best on it, at 6.84:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.158)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.84:1
White text3.06:1

Values

HEX#B27BE4
RGBrgb(178, 123, 228)
HSLhsl(271, 66%, 69%)
OKLCHoklch(68.1% 0.158 306.8)

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 #B27BE4 3.06:1 AA large text Lc -62.7 Content text, not long reading
Black text on #B27BE4 6.84:1 AA Lc 46.7 Large or bold text, headings
#B27BE4 text on white 3.06:1 AA large text Lc 57.3 Large or bold text, headings
#B27BE4 text on black 6.84:1 AA Lc -44.4 Non-text elements, placeholder text

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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E2D0F6

    oklch(88.4% 0.055 306.7)

  4. Step 300

    300

    #D1B0F3

    oklch(80.9% 0.099 306.8)

  5. Step 400

    400 (this color)

    #B27BE4

    oklch(68.1% 0.158 306.8)

  6. Step 500

    500

    #AA5FE7

    oklch(63.2% 0.203 307)

  7. Step 600

    600

    #953FD5

    oklch(55.5% 0.22 306.7)

  8. Step 700

    700

    #7F2FB9

    oklch(49.1% 0.205 306.6)

  9. Step 800

    800

    #672995

    oklch(42.6% 0.169 306.7)

  10. Step 900

    900

    #542877

    oklch(37.7% 0.132 306.8)

  11. Step 950

    950

    #311846

    oklch(26.9% 0.085 306.6)

Export this scale for Tailwind in the Tailwind colors tool

#B27BE4 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)#6091E80.119
Deuteranopia (no green cones)#6E94E10.109
Tritanopia (no blue cones)#AB8CA50.115
Achromatopsia (no color)#9393930.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #B27BE4

    #B27BE4

    oklch(68.1% 0.158 306.8)

  • #7EA929

    #7EA929

    oklch(68% 0.158 126.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B27BE4

    #B27BE4

    oklch(68.1% 0.158 306.8)

  • #818CF8

    #818CF8

    oklch(68% 0.158 276.9)

  • #D46EBC

    #D46EBC

    oklch(68.1% 0.159 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #B27BE4

    #B27BE4

    oklch(68.1% 0.158 306.8)

  • #B19700

    #B19700

    oklch(67.9% 0.14 96.8)

  • #15B46F

    #15B46F

    oklch(67.9% 0.158 156.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B27BE4

    #B27BE4

    oklch(68.1% 0.158 306.8)

  • #D58300

    #D58300

    oklch(68.1% 0.151 67)

  • #00B0A4

    #00B0A4

    oklch(68.1% 0.119 186.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B27BE4

    #B27BE4

    oklch(68.1% 0.158 306.8)

  • #E86F4D

    #E86F4D

    oklch(67.9% 0.158 36.6)

  • #7EA929

    #7EA929

    oklch(68% 0.158 126.8)

  • #00AAC9

    #00AAC9

    oklch(68.1% 0.122 217)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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