#B178F4

Closest named color: Light Urple (#B36FF6). oklch(68.3% 0.182 303.1), rgb(177, 120, 244).

Aa

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

About this color

#B178F4 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.182 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.020 away. Black text reads best on it, at 6.86:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.182)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.86:1
White text3.06:1

Values

HEX#B178F4
RGBrgb(177, 120, 244)
HSLhsl(268, 85%, 71%)
OKLCHoklch(68.3% 0.182 303.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 #B178F4 3.06:1 AA large text Lc -62.6 Content text, not long reading
Black text on #B178F4 6.86:1 AA Lc 46.9 Large or bold text, headings
#B178F4 text on white 3.06:1 AA large text Lc 57.2 Large or bold text, headings
#B178F4 text on black 6.86:1 AA Lc -44.6 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E1D0FC

    oklch(88.5% 0.062 302.7)

  4. Step 300

    300

    #CFAFFD

    oklch(80.9% 0.113 302.8)

  5. Step 400

    400 (this color)

    #B178F4

    oklch(68.3% 0.182 303.1)

  6. Step 500

    500

    #A857FA

    oklch(63.1% 0.233 303.1)

  7. Step 600

    600

    #9431E8

    oklch(55.5% 0.253 303.2)

  8. Step 700

    700

    #7E20CA

    oklch(49.1% 0.235 303)

  9. Step 800

    800

    #671FA3

    oklch(42.7% 0.194 303.5)

  10. Step 900

    900

    #532282

    oklch(37.7% 0.153 303)

  11. Step 950

    950

    #31164C

    oklch(27.1% 0.096 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#B178F4 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)#5092F80.133
Deuteranopia (no green cones)#6093F10.122
Tritanopia (no blue cones)#A58FAB0.137
Achromatopsia (no color)#9393930.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #B178F4

    #B178F4

    oklch(68.3% 0.182 303.1)

  • #86A900

    #86A900

    oklch(68.4% 0.168 123.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B178F4

    #B178F4

    oklch(68.3% 0.182 303.1)

  • #798EFF

    #798EFF

    oklch(68.3% 0.167 273.3)

  • #D968C8

    #D968C8

    oklch(68.4% 0.182 333.4)

Open the analogous palette in the generator

Split complementary

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

  • #B178F4

    #B178F4

    oklch(68.3% 0.182 303.1)

  • #B79600

    #B79600

    oklch(68.3% 0.14 93.1)

  • #00B762

    #00B762

    oklch(68.3% 0.176 153.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B178F4

    #B178F4

    oklch(68.3% 0.182 303.1)

  • #DB8000

    #DB8000

    oklch(68.4% 0.156 63)

  • #00B1A1

    #00B1A1

    oklch(68.3% 0.121 183.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B178F4

    #B178F4

    oklch(68.3% 0.182 303.1)

  • #F46549

    #F46549

    oklch(68.2% 0.182 32.9)

  • #86A900

    #86A900

    oklch(68.4% 0.168 123.2)

  • #00ACC5

    #00ACC5

    oklch(68.4% 0.12 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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