#B27AFD

Closest named color: Light Purple (#BF77F6). oklch(69.3% 0.19 301.3), rgb(178, 122, 253).

Aa

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

About this color

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

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

Values

HEX#B27AFD
RGBrgb(178, 122, 253)
HSLhsl(266, 97%, 74%)
OKLCHoklch(69.3% 0.19 301.3)

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 #B27AFD 2.95:1 Fails Lc -61.2 Content text, not long reading
Black text on #B27AFD 7.09:1 AAA Lc 48.2 Large or bold text, headings
#B27AFD text on white 2.95:1 Fails Lc 55.8 Large or bold text, headings
#B27AFD text on black 7.09:1 AAA Lc -45.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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FE

    oklch(93.6% 0.035 302.1)

  3. Step 200

    200

    #E0D0FE

    oklch(88.5% 0.065 301)

  4. Step 300

    300

    #CDAFFF

    oklch(80.9% 0.115 301.1)

  5. Step 400

    400 (this color)

    #B27AFD

    oklch(69.3% 0.19 301.3)

  6. Step 500

    500

    #A556FF

    oklch(63% 0.239 301.2)

  7. Step 600

    600

    #922CF0

    oklch(55.6% 0.264 301.2)

  8. Step 700

    700

    #7D19D1

    oklch(49.1% 0.245 301.4)

  9. Step 800

    800

    #651BA9

    oklch(42.7% 0.203 301.2)

  10. Step 900

    900

    #522186

    oklch(37.8% 0.158 301.1)

  11. Step 950

    950

    #30154E

    oklch(27% 0.1 301.7)

Export this scale for Tailwind in the Tailwind colors tool

#B27AFD 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)#4C95FF0.136
Deuteranopia (no green cones)#5C95FA0.125
Tritanopia (no blue cones)#A393B00.145
Achromatopsia (no color)#9696960.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #B27AFD

    #B27AFD

    oklch(69.3% 0.19 301.3)

  • #8DAB00

    #8DAB00

    oklch(69.4% 0.167 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B27AFD

    #B27AFD

    oklch(69.3% 0.19 301.3)

  • #7993FF

    #7993FF

    oklch(69.3% 0.161 271.5)

  • #DC69D1

    #DC69D1

    oklch(69.3% 0.189 331.1)

Open the analogous palette in the generator

Split complementary

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

  • #B27AFD

    #B27AFD

    oklch(69.3% 0.19 301.3)

  • #BD9800

    #BD9800

    oklch(69.4% 0.142 91.3)

  • #00BB5D

    #00BB5D

    oklch(69.3% 0.185 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B27AFD

    #B27AFD

    oklch(69.3% 0.19 301.3)

  • #E18100

    #E18100

    oklch(69.3% 0.16 61.6)

  • #00B5A1

    #00B5A1

    oklch(69.3% 0.125 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B27AFD

    #B27AFD

    oklch(69.3% 0.19 301.3)

  • #FB644C

    #FB644C

    oklch(69.2% 0.189 31.4)

  • #8DAB00

    #8DAB00

    oklch(69.4% 0.167 121.4)

  • #00AFC7

    #00AFC7

    oklch(69.2% 0.121 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 #B27AFD, closest first.

Similar named colors

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

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