#B278EA

Closest named color: Light Purple (#BF77F6). oklch(67.9% 0.17 305.8), rgb(178, 120, 234).

Aa

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

About this color

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

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

Values

HEX#B278EA
RGBrgb(178, 120, 234)
HSLhsl(271, 73%, 69%)
OKLCHoklch(67.9% 0.17 305.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 #B278EA 3.10:1 AA large text Lc -63.1 Content text, not long reading
Black text on #B278EA 6.76:1 AA Lc 46.3 Large or bold text, headings
#B278EA text on white 3.10:1 AA large text Lc 57.8 Large or bold text, headings
#B278EA text on black 6.76:1 AA Lc -44.0 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

    #EFE5FB

    oklch(93.6% 0.031 306.2)

  3. Step 200

    200

    #E3D0F9

    oklch(88.6% 0.059 306.2)

  4. Step 300

    300

    #D1AFF8

    oklch(80.9% 0.107 305.4)

  5. Step 400

    400 (this color)

    #B278EA

    oklch(67.9% 0.17 305.8)

  6. Step 500

    500

    #AA5AEF

    oklch(63% 0.218 305.7)

  7. Step 600

    600

    #9638DD

    oklch(55.5% 0.236 305.8)

  8. Step 700

    700

    #8027C0

    oklch(49% 0.22 305.8)

  9. Step 800

    800

    #68249B

    oklch(42.6% 0.182 305.9)

  10. Step 900

    900

    #55257C

    oklch(37.8% 0.142 306)

  11. Step 950

    950

    #311748

    oklch(26.9% 0.089 305.7)

Export this scale for Tailwind in the Tailwind colors tool

#B278EA 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)#5890EE0.128
Deuteranopia (no green cones)#6893E70.117
Tritanopia (no blue cones)#A98CA60.126
Achromatopsia (no color)#9292920.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #B278EA

    #B278EA

    oklch(67.9% 0.17 305.8)

  • #7EA909

    #7EA909

    oklch(67.8% 0.17 125.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B278EA

    #B278EA

    oklch(67.9% 0.17 305.8)

  • #7D8BFF

    #7D8BFF

    oklch(68% 0.17 275.7)

  • #D66AC0

    #D66AC0

    oklch(67.9% 0.17 335.6)

Open the analogous palette in the generator

Split complementary

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

  • #B278EA

    #B278EA

    oklch(67.9% 0.17 305.8)

  • #B29600

    #B29600

    oklch(67.8% 0.139 95.7)

  • #00B56B

    #00B56B

    oklch(68% 0.165 155.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B278EA

    #B278EA

    oklch(67.9% 0.17 305.8)

  • #D58100

    #D58100

    oklch(67.8% 0.151 65.8)

  • #00AFA3

    #00AFA3

    oklch(67.9% 0.119 186.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B278EA

    #B278EA

    oklch(67.9% 0.17 305.8)

  • #ED6A47

    #ED6A47

    oklch(67.8% 0.17 35.9)

  • #7EA909

    #7EA909

    oklch(67.8% 0.17 125.9)

  • #00AAC7

    #00AAC7

    oklch(68% 0.12 215.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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