#B140D1

Closest named color: Medium Orchid (#BA55D3). oklch(58.9% 0.224 317.8), rgb(177, 64, 209).

Aa

White text reads best on this color (4.64:1).

About this color

#B140D1 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.224 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.043 away. White text reads best on it, at 4.64:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.224)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.52:1
White text4.64:1

Values

HEX#B140D1
RGBrgb(177, 64, 209)
HSLhsl(287, 61%, 54%)
OKLCHoklch(58.9% 0.224 317.8)

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 #B140D1 4.64:1 AA Lc -76.8 Fine for body text
Black text on #B140D1 4.52:1 AA Lc 32.8 Non-text elements, placeholder text
#B140D1 text on white 4.64:1 AA Lc 71.3 Content text, not long reading
#B140D1 text on black 4.52:1 AA Lc -30.4 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 600.

  1. Step 50

    50

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E9CEF2

    oklch(88.5% 0.057 317.7)

  4. Step 300

    300

    #DCACEB

    oklch(80.9% 0.101 318)

  5. Step 400

    400

    #C97DE1

    oklch(70.6% 0.161 317.7)

  6. Step 500

    500

    #BB56D9

    oklch(63.1% 0.207 317.8)

  7. Step 600

    600 (this color)

    #B140D1

    oklch(58.9% 0.224 317.8)

  8. Step 700

    700

    #8E24AB

    oklch(49.1% 0.208 317.7)

  9. Step 800

    800

    #74218A

    oklch(42.7% 0.173 318.2)

  10. Step 900

    900

    #5E226F

    oklch(37.7% 0.136 318)

  11. Step 950

    950

    #371641

    oklch(27.1% 0.085 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#B140D1 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)#006DD50.219
Deuteranopia (no green cones)#4578CE0.191
Tritanopia (no blue cones)#B05C840.142
Achromatopsia (no color)#7474740.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #B140D1

    #B140D1

    oklch(58.9% 0.224 317.8)

  • #3C9400

    #3C9400

    oklch(58.9% 0.182 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B140D1

    #B140D1

    oklch(58.9% 0.224 317.8)

  • #7D59F7

    #7D59F7

    oklch(58.9% 0.224 288)

  • #D32794

    #D32794

    oklch(58.9% 0.225 347.9)

Open the analogous palette in the generator

Split complementary

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

  • #B140D1

    #B140D1

    oklch(58.9% 0.224 317.8)

  • #858200

    #858200

    oklch(59% 0.127 108.1)

  • #00936F

    #00936F

    oklch(58.9% 0.119 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B140D1

    #B140D1

    oklch(58.9% 0.224 317.8)

  • #A57200

    #A57200

    oklch(59% 0.123 77.6)

  • #008F92

    #008F92

    oklch(59% 0.1 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B140D1

    #B140D1

    oklch(58.9% 0.224 317.8)

  • #C65800

    #C65800

    oklch(59% 0.161 48)

  • #3C9400

    #3C9400

    oklch(58.9% 0.182 137.9)

  • #0089B2

    #0089B2

    oklch(58.8% 0.115 228)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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