#B170EF

Closest named color: Light Urple (#B36FF6). oklch(66.8% 0.188 305.5), rgb(177, 112, 239).

Aa

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

About this color

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

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

Values

HEX#B170EF
RGBrgb(177, 112, 239)
HSLhsl(271, 80%, 69%)
OKLCHoklch(66.8% 0.188 305.5)

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 #B170EF 3.26:1 AA large text Lc -65.1 Content text, not long reading
Black text on #B170EF 6.43:1 AA Lc 44.4 Non-text elements, placeholder text
#B170EF text on white 3.26:1 AA large text Lc 59.6 Large or bold text, headings
#B170EF text on black 6.43:1 AA Lc -42.1 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E1D1F5

    oklch(88.5% 0.052 305.4)

  4. Step 300

    300

    #CFB2F1

    oklch(81% 0.092 305.4)

  5. Step 400

    400

    #B786E9

    oklch(70.6% 0.148 305.8)

  6. Step 500

    500 (this color)

    #B170EF

    oklch(66.8% 0.188 305.5)

  7. Step 600

    600

    #9147D0

    oklch(55.7% 0.204 305.5)

  8. Step 700

    700

    #7B37B4

    oklch(49.1% 0.19 305.3)

  9. Step 800

    800

    #642F92

    oklch(42.7% 0.157 305.2)

  10. Step 900

    900

    #522B74

    oklch(37.7% 0.123 306)

  11. Step 950

    950

    #301A44

    oklch(27% 0.078 306)

Export this scale for Tailwind in the Tailwind colors tool

#B170EF 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)#468CF30.147
Deuteranopia (no green cones)#5B8FEC0.133
Tritanopia (no blue cones)#A787A50.137
Achromatopsia (no color)#8E8E8E0.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #B170EF

    #B170EF

    oklch(66.8% 0.188 305.5)

  • #7CA600

    #7CA600

    oklch(66.9% 0.17 125.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B170EF

    #B170EF

    oklch(66.8% 0.188 305.5)

  • #7987FF

    #7987FF

    oklch(66.9% 0.176 275.6)

  • #D85FC1

    #D85FC1

    oklch(66.8% 0.189 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #B170EF

    #B170EF

    oklch(66.8% 0.188 305.5)

  • #AF9300

    #AF9300

    oklch(66.9% 0.137 95.4)

  • #00B167

    #00B167

    oklch(66.8% 0.164 155.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B170EF

    #B170EF

    oklch(66.8% 0.188 305.5)

  • #D17E00

    #D17E00

    oklch(66.7% 0.149 65.5)

  • #00AC9F

    #00AC9F

    oklch(67% 0.118 185.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B170EF

    #B170EF

    oklch(66.8% 0.188 305.5)

  • #F15F38

    #F15F38

    oklch(66.8% 0.188 35.8)

  • #7CA600

    #7CA600

    oklch(66.9% 0.17 125.6)

  • #00A6C2

    #00A6C2

    oklch(66.8% 0.118 215.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #B170EF.

Similar named colors

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

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