#B27FEC

Closest named color: Light Purple (#BF77F6). oklch(69.1% 0.162 304.1), rgb(178, 127, 236).

Aa

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

About this color

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

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

Values

HEX#B27FEC
RGBrgb(178, 127, 236)
HSLhsl(268, 74%, 71%)
OKLCHoklch(69.1% 0.162 304.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 #B27FEC 2.94:1 Fails Lc -61.0 Content text, not long reading
Black text on #B27FEC 7.13:1 AAA Lc 48.4 Large or bold text, headings
#B27FEC text on white 2.94:1 Fails Lc 55.7 Large or bold text, headings
#B27FEC text on black 7.13:1 AAA Lc -46.1 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FA

    oklch(93.5% 0.03 305.1)

  3. Step 200

    200

    #E1D1F8

    oklch(88.6% 0.056 303.9)

  4. Step 300

    300

    #CFB1F6

    oklch(81% 0.1 304.1)

  5. Step 400

    400 (this color)

    #B27FEC

    oklch(69.1% 0.162 304.1)

  6. Step 500

    500

    #A65FEC

    oklch(63% 0.207 304.3)

  7. Step 600

    600

    #923FDB

    oklch(55.6% 0.226 304.2)

  8. Step 700

    700

    #7C2FBE

    oklch(49.1% 0.21 304)

  9. Step 800

    800

    #652999

    oklch(42.6% 0.173 304.4)

  10. Step 900

    900

    #52287A

    oklch(37.7% 0.135 304.2)

  11. Step 950

    950

    #301947

    oklch(27% 0.084 304.4)

Export this scale for Tailwind in the Tailwind colors tool

#B27FEC 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)#6195F00.116
Deuteranopia (no green cones)#6E96E90.106
Tritanopia (no blue cones)#A892AA0.122
Achromatopsia (no color)#9696960.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #B27FEC

    #B27FEC

    oklch(69.1% 0.162 304.1)

  • #87AB20

    #87AB20

    oklch(69% 0.161 124)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B27FEC

    #B27FEC

    oklch(69.1% 0.162 304.1)

  • #7E91FF

    #7E91FF

    oklch(69.2% 0.162 274)

  • #D671C4

    #D671C4

    oklch(69.1% 0.162 334.2)

Open the analogous palette in the generator

Split complementary

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

  • #B27FEC

    #B27FEC

    oklch(69.1% 0.162 304.1)

  • #B99900

    #B99900

    oklch(69.2% 0.142 93.9)

  • #29B86C

    #29B86C

    oklch(69.2% 0.162 154.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B27FEC

    #B27FEC

    oklch(69.1% 0.162 304.1)

  • #DD8300

    #DD8300

    oklch(69.1% 0.156 64)

  • #00B4A4

    #00B4A4

    oklch(69.2% 0.123 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B27FEC

    #B27FEC

    oklch(69.1% 0.162 304.1)

  • #EE7054

    #EE7054

    oklch(69% 0.162 33.9)

  • #87AB20

    #87AB20

    oklch(69% 0.161 124)

  • #00AECA

    #00AECA

    oklch(69.1% 0.122 214.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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