#B172DC

Closest named color: Light Urple (#B36FF6). oklch(66.1% 0.163 310.1), rgb(177, 114, 220).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.163)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.30:1
White text3.32:1

Values

HEX#B172DC
RGBrgb(177, 114, 220)
HSLhsl(276, 60%, 65%)
OKLCHoklch(66.1% 0.163 310.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 #B172DC 3.32:1 AA large text Lc -65.9 Content text, not long reading
Black text on #B172DC 6.30:1 AA Lc 43.6 Non-text elements, placeholder text
#B172DC text on white 3.32:1 AA large text Lc 60.4 Content text, not long reading
#B172DC text on black 6.30:1 AA Lc -41.3 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 500.

  1. Step 50

    50

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E2D2F0

    oklch(88.6% 0.044 309.3)

  4. Step 300

    300

    #D1B3E8

    oklch(81% 0.08 310.2)

  5. Step 400

    400

    #B989DC

    oklch(70.7% 0.128 310)

  6. Step 500

    500 (this color)

    #B172DC

    oklch(66.1% 0.163 310.1)

  7. Step 600

    600

    #934DBF

    oklch(55.6% 0.178 310.2)

  8. Step 700

    700

    #7D3DA5

    oklch(49% 0.166 310)

  9. Step 800

    800

    #663486

    oklch(42.8% 0.137 310)

  10. Step 900

    900

    #532E6B

    oklch(37.7% 0.107 310.3)

  11. Step 950

    950

    #301C3F

    oklch(27% 0.067 309)

Export this scale for Tailwind in the Tailwind colors tool

#B172DC 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)#588AE00.131
Deuteranopia (no green cones)#6A8ED90.118
Tritanopia (no blue cones)#AC839D0.115
Achromatopsia (no color)#8D8D8D0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #B172DC

    #B172DC

    oklch(66.1% 0.163 310.1)

  • #70A524

    #70A524

    oklch(66.1% 0.163 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B172DC

    #B172DC

    oklch(66.1% 0.163 310.1)

  • #8183F3

    #8183F3

    oklch(66% 0.163 280.2)

  • #D265B1

    #D265B1

    oklch(66.1% 0.164 340.3)

Open the analogous palette in the generator

Split complementary

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

  • #B172DC

    #B172DC

    oklch(66.1% 0.163 310.1)

  • #A69300

    #A69300

    oklch(66% 0.137 100.1)

  • #00AD72

    #00AD72

    oklch(66% 0.149 160.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B172DC

    #B172DC

    oklch(66.1% 0.163 310.1)

  • #C98000

    #C98000

    oklch(66.1% 0.143 70)

  • #00A8A2

    #00A8A2

    oklch(66% 0.114 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B172DC

    #B172DC

    oklch(66.1% 0.163 310.1)

  • #E3693C

    #E3693C

    oklch(66.1% 0.163 40)

  • #70A524

    #70A524

    oklch(66.1% 0.163 130)

  • #00A3C5

    #00A3C5

    oklch(66.2% 0.12 219.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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