#B170DA

Closest named color: Light Urple (#B36FF6). oklch(65.7% 0.164 310.9), rgb(177, 112, 218).

Aa

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

About this color

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

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

Values

HEX#B170DA
RGBrgb(177, 112, 218)
HSLhsl(277, 59%, 65%)
OKLCHoklch(65.7% 0.164 310.9)

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 #B170DA 3.38:1 AA large text Lc -66.5 Content text, not long reading
Black text on #B170DA 6.19:1 AA Lc 43.0 Non-text elements, placeholder text
#B170DA text on white 3.38:1 AA large text Lc 61.1 Content text, not long reading
#B170DA text on black 6.19:1 AA Lc -40.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 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

    #E3D1EF

    oklch(88.4% 0.045 312)

  4. Step 300

    300

    #D1B2E7

    oklch(80.8% 0.08 311)

  5. Step 400

    400

    #BA88DB

    oklch(70.6% 0.129 311.1)

  6. Step 500

    500 (this color)

    #B170DA

    oklch(65.7% 0.164 310.9)

  7. Step 600

    600

    #944DBE

    oklch(55.6% 0.177 310.9)

  8. Step 700

    700

    #7E3DA4

    oklch(49.1% 0.165 310.8)

  9. Step 800

    800

    #673385

    oklch(42.7% 0.138 311.2)

  10. Step 900

    900

    #542E6B

    oklch(37.8% 0.107 311.1)

  11. Step 950

    950

    #311B3E

    oklch(26.9% 0.068 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#B170DA 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)#5688DE0.134
Deuteranopia (no green cones)#698DD70.121
Tritanopia (no blue cones)#AC819B0.115
Achromatopsia (no color)#8B8B8B0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #B170DA

    #B170DA

    oklch(65.7% 0.164 310.9)

  • #6CA424

    #6CA424

    oklch(65.6% 0.164 131)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B170DA

    #B170DA

    oklch(65.7% 0.164 310.9)

  • #8181F2

    #8181F2

    oklch(65.6% 0.165 280.9)

  • #D163AF

    #D163AF

    oklch(65.6% 0.165 340.7)

Open the analogous palette in the generator

Split complementary

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

  • #B170DA

    #B170DA

    oklch(65.7% 0.164 310.9)

  • #A49300

    #A49300

    oklch(65.8% 0.137 101.1)

  • #00AC73

    #00AC73

    oklch(65.7% 0.147 160.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B170DA

    #B170DA

    oklch(65.7% 0.164 310.9)

  • #C68000

    #C68000

    oklch(65.7% 0.141 71.3)

  • #00A7A2

    #00A7A2

    oklch(65.8% 0.113 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B170DA

    #B170DA

    oklch(65.7% 0.164 310.9)

  • #E16837

    #E16837

    oklch(65.6% 0.164 41.2)

  • #6CA424

    #6CA424

    oklch(65.6% 0.164 131)

  • #00A1C5

    #00A1C5

    oklch(65.7% 0.121 221.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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