#B27EF2

Closest named color: Light Purple (#BF77F6). oklch(69.3% 0.171 302.9), rgb(178, 126, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.171)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.15:1
White text2.93:1

Values

HEX#B27EF2
RGBrgb(178, 126, 242)
HSLhsl(267, 82%, 72%)
OKLCHoklch(69.3% 0.171 302.9)

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 #B27EF2 2.93:1 Fails Lc -60.9 Content text, not long reading
Black text on #B27EF2 7.15:1 AAA Lc 48.5 Large or bold text, headings
#B27EF2 text on white 2.93:1 Fails Lc 55.5 Large or bold text, headings
#B27EF2 text on black 7.15:1 AAA Lc -46.2 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E1D0FA

    oklch(88.5% 0.06 303.6)

  4. Step 300

    300

    #CEB0FA

    oklch(80.9% 0.107 302.7)

  5. Step 400

    400 (this color)

    #B27EF2

    oklch(69.3% 0.171 302.9)

  6. Step 500

    500

    #A55DF3

    oklch(63.1% 0.217 302.7)

  7. Step 600

    600

    #913BE2

    oklch(55.6% 0.237 302.6)

  8. Step 700

    700

    #7C2AC4

    oklch(49.1% 0.22 302.9)

  9. Step 800

    800

    #65269E

    oklch(42.7% 0.182 303.2)

  10. Step 900

    900

    #52267E

    oklch(37.7% 0.142 303.1)

  11. Step 950

    950

    #30184A

    oklch(27.1% 0.09 303)

Export this scale for Tailwind in the Tailwind colors tool

#B27EF2 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)#5B96F60.122
Deuteranopia (no green cones)#6996EF0.111
Tritanopia (no blue cones)#A793AD0.129
Achromatopsia (no color)#9797970.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #B27EF2

    #B27EF2

    oklch(69.3% 0.171 302.9)

  • #89AC00

    #89AC00

    oklch(69.3% 0.17 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B27EF2

    #B27EF2

    oklch(69.3% 0.171 302.9)

  • #7C92FF

    #7C92FF

    oklch(69.2% 0.161 272.9)

  • #D86FC9

    #D86FC9

    oklch(69.2% 0.17 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #B27EF2

    #B27EF2

    oklch(69.3% 0.171 302.9)

  • #BB9900

    #BB9900

    oklch(69.4% 0.142 92.9)

  • #20B966

    #20B966

    oklch(69.2% 0.17 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B27EF2

    #B27EF2

    oklch(69.3% 0.171 302.9)

  • #DF8200

    #DF8200

    oklch(69.2% 0.158 62.8)

  • #00B5A3

    #00B5A3

    oklch(69.4% 0.124 182.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B27EF2

    #B27EF2

    oklch(69.3% 0.171 302.9)

  • #F36D52

    #F36D52

    oklch(69.3% 0.171 33)

  • #89AC00

    #89AC00

    oklch(69.3% 0.17 123)

  • #00AFC9

    #00AFC9

    oklch(69.3% 0.121 213.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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