#B178DD

Closest named color: Light Purple (#BF77F6). oklch(67.1% 0.155 308.8), rgb(177, 120, 221).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.155)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.60:1
White text3.18:1

Values

HEX#B178DD
RGBrgb(177, 120, 221)
HSLhsl(274, 60%, 67%)
OKLCHoklch(67.1% 0.155 308.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 #B178DD 3.18:1 AA large text Lc -64.2 Content text, not long reading
Black text on #B178DD 6.60:1 AA Lc 45.3 Large or bold text, headings
#B178DD text on white 3.18:1 AA large text Lc 58.8 Large or bold text, headings
#B178DD text on black 6.60:1 AA Lc -43.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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E3D0F5

    oklch(88.5% 0.054 308.4)

  4. Step 300

    300

    #D3B0F1

    oklch(81% 0.097 308.8)

  5. Step 400

    400 (this color)

    #B178DD

    oklch(67.1% 0.155 308.8)

  6. Step 500

    500

    #AC5FE2

    oklch(63.1% 0.198 308.9)

  7. Step 600

    600

    #9740D0

    oklch(55.5% 0.215 308.6)

  8. Step 700

    700

    #8130B4

    oklch(49% 0.2 308.7)

  9. Step 800

    800

    #692A92

    oklch(42.7% 0.166 308.7)

  10. Step 900

    900

    #552874

    oklch(37.6% 0.129 308.7)

  11. Step 950

    950

    #321944

    oklch(27.1% 0.081 308.8)

Export this scale for Tailwind in the Tailwind colors tool

#B178DD 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)#608EE10.119
Deuteranopia (no green cones)#6F91DA0.109
Tritanopia (no blue cones)#AB88A00.111
Achromatopsia (no color)#9090900.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #B178DD

    #B178DD

    oklch(67.1% 0.155 308.8)

  • #78A730

    #78A730

    oklch(67.1% 0.155 128.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B178DD

    #B178DD

    oklch(67.1% 0.155 308.8)

  • #8289F2

    #8289F2

    oklch(67.2% 0.154 278.5)

  • #D16CB5

    #D16CB5

    oklch(67.1% 0.154 338.8)

Open the analogous palette in the generator

Split complementary

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

  • #B178DD

    #B178DD

    oklch(67.1% 0.155 308.8)

  • #AB9600

    #AB9600

    oklch(67.1% 0.139 99.3)

  • #01B171

    #01B171

    oklch(67% 0.155 158.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B178DD

    #B178DD

    oklch(67.1% 0.155 308.8)

  • #CF8200

    #CF8200

    oklch(67.2% 0.147 68.7)

  • #00ACA4

    #00ACA4

    oklch(67.1% 0.116 188.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B178DD

    #B178DD

    oklch(67.1% 0.155 308.8)

  • #E36F48

    #E36F48

    oklch(67.1% 0.154 39)

  • #78A730

    #78A730

    oklch(67.1% 0.155 128.8)

  • #00A6C8

    #00A6C8

    oklch(67% 0.122 219.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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