#B257CB

Closest named color: Medium Orchid (#BA55D3). oklch(61.4% 0.188 318.5), rgb(178, 87, 203).

Aa

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

About this color

#B257CB is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.188 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.019 away. Black text reads best on it, at 5.11:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.188)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.11:1
White text4.10:1

Values

HEX#B257CB
RGBrgb(178, 87, 203)
HSLhsl(287, 53%, 57%)
OKLCHoklch(61.4% 0.188 318.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 #B257CB 4.10:1 AA large text Lc -73.1 Content text, not long reading
Black text on #B257CB 5.11:1 AA Lc 36.4 Non-text elements, placeholder text
#B257CB text on white 4.10:1 AA large text Lc 67.6 Content text, not long reading
#B257CB text on black 5.11:1 AA Lc -34.0 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F6

    oklch(93.7% 0.027 318.2)

  3. Step 200

    200

    #E8CFEF

    oklch(88.5% 0.051 318.8)

  4. Step 300

    300

    #DAAEE7

    oklch(80.9% 0.092 318.4)

  5. Step 400

    400

    #C781DB

    oklch(70.8% 0.147 318.5)

  6. Step 500

    500 (this color)

    #B257CB

    oklch(61.4% 0.188 318.5)

  7. Step 600

    600

    #A33EBE

    oklch(55.7% 0.204 318.4)

  8. Step 700

    700

    #8B2EA4

    oklch(49.1% 0.19 318.2)

  9. Step 800

    800

    #712885

    oklch(42.7% 0.158 318.2)

  10. Step 900

    900

    #5C276A

    oklch(37.8% 0.122 318.7)

  11. Step 950

    950

    #36183E

    oklch(27.1% 0.077 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#B257CB 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)#3C77CF0.177
Deuteranopia (no green cones)#5D80C80.154
Tritanopia (no blue cones)#B269890.119
Achromatopsia (no color)#7D7D7D0.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #B257CB

    #B257CB

    oklch(61.4% 0.188 318.5)

  • #3E9D0A

    #3E9D0A

    oklch(61.5% 0.188 138.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B257CB

    #B257CB

    oklch(61.4% 0.188 318.5)

  • #836AEC

    #836AEC

    oklch(61.3% 0.188 288.4)

  • #D04997

    #D04997

    oklch(61.3% 0.187 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #B257CB

    #B257CB

    oklch(61.4% 0.188 318.5)

  • #8C8900

    #8C8900

    oklch(61.3% 0.132 108.2)

  • #009B77

    #009B77

    oklch(61.3% 0.123 168.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B257CB

    #B257CB

    oklch(61.4% 0.188 318.5)

  • #AD7900

    #AD7900

    oklch(61.3% 0.128 78.6)

  • #00979B

    #00979B

    oklch(61.4% 0.104 198.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B257CB

    #B257CB

    oklch(61.4% 0.188 318.5)

  • #D05E00

    #D05E00

    oklch(61.4% 0.166 48.6)

  • #3E9D0A

    #3E9D0A

    oklch(61.5% 0.188 138.5)

  • #0091BD

    #0091BD

    oklch(61.4% 0.12 228.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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