#B172ED

Closest named color: Light Urple (#B36FF6). oklch(67% 0.183 305.7), rgb(177, 114, 237).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.183)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.49:1
White text3.23:1

Values

HEX#B172ED
RGBrgb(177, 114, 237)
HSLhsl(271, 77%, 69%)
OKLCHoklch(67% 0.183 305.7)

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 #B172ED 3.23:1 AA large text Lc -64.7 Content text, not long reading
Black text on #B172ED 6.49:1 AA Lc 44.8 Non-text elements, placeholder text
#B172ED text on white 3.23:1 AA large text Lc 59.3 Large or bold text, headings
#B172ED text on black 6.49:1 AA Lc -42.5 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FC

    oklch(93.7% 0.032 305.3)

  3. Step 200

    200

    #E3CFFB

    oklch(88.5% 0.063 305.7)

  4. Step 300

    300

    #D2ADFC

    oklch(80.8% 0.115 305.4)

  5. Step 400

    400 (this color)

    #B172ED

    oklch(67% 0.183 305.7)

  6. Step 500

    500

    #AD54F6

    oklch(63.1% 0.234 305.9)

  7. Step 600

    600

    #992DE5

    oklch(55.6% 0.254 305.8)

  8. Step 700

    700

    #831BC7

    oklch(49.1% 0.236 305.9)

  9. Step 800

    800

    #6A1CA1

    oklch(42.7% 0.196 305.8)

  10. Step 900

    900

    #562180

    oklch(37.8% 0.152 305.7)

  11. Step 950

    950

    #32154B

    oklch(27% 0.097 305.5)

Export this scale for Tailwind in the Tailwind colors tool

#B172ED 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)#4B8DF10.142
Deuteranopia (no green cones)#5F8FEA0.127
Tritanopia (no blue cones)#A788A50.134
Achromatopsia (no color)#8F8F8F0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #B172ED

    #B172ED

    oklch(67% 0.183 305.7)

  • #7CA600

    #7CA600

    oklch(66.9% 0.17 125.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B172ED

    #B172ED

    oklch(67% 0.183 305.7)

  • #7A87FF

    #7A87FF

    oklch(67% 0.176 275.9)

  • #D762C0

    #D762C0

    oklch(67% 0.183 335.6)

Open the analogous palette in the generator

Split complementary

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

  • #B172ED

    #B172ED

    oklch(67% 0.183 305.7)

  • #AF9400

    #AF9400

    oklch(67.1% 0.138 96)

  • #00B268

    #00B268

    oklch(67.1% 0.164 155.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B172ED

    #B172ED

    oklch(67% 0.183 305.7)

  • #D27F00

    #D27F00

    oklch(67% 0.15 65.7)

  • #00ACA0

    #00ACA0

    oklch(67% 0.117 186.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B172ED

    #B172ED

    oklch(67% 0.183 305.7)

  • #F0623C

    #F0623C

    oklch(67.1% 0.183 35.8)

  • #7CA600

    #7CA600

    oklch(66.9% 0.17 125.6)

  • #00A7C3

    #00A7C3

    oklch(67.1% 0.119 215.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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