#B172EB

Closest named color: Light Urple (#B36FF6). oklch(66.9% 0.181 306.2), rgb(177, 114, 235).

Aa

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

About this color

#B172EB is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.181 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.019 away. Black text reads best on it, at 6.47:1.

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

Values

HEX#B172EB
RGBrgb(177, 114, 235)
HSLhsl(271, 75%, 68%)
OKLCHoklch(66.9% 0.181 306.2)

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 #B172EB 3.24:1 AA large text Lc -64.8 Content text, not long reading
Black text on #B172EB 6.47:1 AA Lc 44.7 Non-text elements, placeholder text
#B172EB text on white 3.24:1 AA large text Lc 59.4 Large or bold text, headings
#B172EB text on black 6.47:1 AA Lc -42.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 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

    #D3AEFA

    oklch(81% 0.112 306.3)

  5. Step 400

    400 (this color)

    #B172EB

    oklch(66.9% 0.181 306.2)

  6. Step 500

    500

    #AD55F4

    oklch(63% 0.231 306.3)

  7. Step 600

    600

    #992FE3

    oklch(55.6% 0.251 306.2)

  8. Step 700

    700

    #831DC5

    oklch(49.1% 0.233 306.3)

  9. Step 800

    800

    #6A1DA0

    oklch(42.7% 0.194 306)

  10. Step 900

    900

    #56217F

    oklch(37.7% 0.151 306.1)

  11. Step 950

    950

    #32154A

    oklch(26.9% 0.096 306.1)

Export this scale for Tailwind in the Tailwind colors tool

#B172EB 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)#4D8DEF0.140
Deuteranopia (no green cones)#608FE80.127
Tritanopia (no blue cones)#A888A40.132
Achromatopsia (no color)#8F8F8F0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #B172EB

    #B172EB

    oklch(66.9% 0.181 306.2)

  • #7AA600

    #7AA600

    oklch(66.8% 0.171 126.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B172EB

    #B172EB

    oklch(66.9% 0.181 306.2)

  • #7A86FF

    #7A86FF

    oklch(66.8% 0.177 276.2)

  • #D663BE

    #D663BE

    oklch(66.9% 0.179 336.1)

Open the analogous palette in the generator

Split complementary

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

  • #B172EB

    #B172EB

    oklch(66.9% 0.181 306.2)

  • #AE9400

    #AE9400

    oklch(67% 0.138 96.5)

  • #00B169

    #00B169

    oklch(66.9% 0.162 156.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B172EB

    #B172EB

    oklch(66.9% 0.181 306.2)

  • #D17F00

    #D17F00

    oklch(66.9% 0.149 66.1)

  • #00ACA0

    #00ACA0

    oklch(67% 0.117 186.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B172EB

    #B172EB

    oklch(66.9% 0.181 306.2)

  • #EE633C

    #EE633C

    oklch(66.9% 0.18 36.4)

  • #7AA600

    #7AA600

    oklch(66.8% 0.171 126.2)

  • #00A6C3

    #00A6C3

    oklch(66.8% 0.119 216.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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