#B257DB

Closest named color: Medium Orchid (#BA55D3). oklch(62.3% 0.204 313.9), rgb(178, 87, 219).

Aa

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

About this color

#B257DB is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.204 and its hue 314°. 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.27:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.204)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.27:1
White text3.97:1

Values

HEX#B257DB
RGBrgb(178, 87, 219)
HSLhsl(281, 65%, 60%)
OKLCHoklch(62.3% 0.204 313.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 #B257DB 3.97:1 AA large text Lc -72.0 Content text, not long reading
Black text on #B257DB 5.27:1 AA Lc 37.5 Non-text elements, placeholder text
#B257DB text on white 3.97:1 AA large text Lc 66.5 Content text, not long reading
#B257DB text on black 5.27:1 AA Lc -35.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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F8

    oklch(93.7% 0.028 313.4)

  3. Step 200

    200

    #E7CFF3

    oklch(88.5% 0.055 314.5)

  4. Step 300

    300

    #D8AEEE

    oklch(81% 0.099 313.8)

  5. Step 400

    400

    #C47FE6

    oklch(70.7% 0.161 313.7)

  6. Step 500

    500 (this color)

    #B257DB

    oklch(62.3% 0.204 313.9)

  7. Step 600

    600

    #A039CB

    oklch(55.6% 0.221 313.9)

  8. Step 700

    700

    #8929B0

    oklch(49.1% 0.206 313.8)

  9. Step 800

    800

    #6F248E

    oklch(42.6% 0.171 313.9)

  10. Step 900

    900

    #5A2572

    oklch(37.8% 0.133 313.6)

  11. Step 950

    950

    #351743

    oklch(27.1% 0.084 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#B257DB 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)#2A7ADF0.187
Deuteranopia (no green cones)#5282D80.163
Tritanopia (no blue cones)#AE6F910.137
Achromatopsia (no color)#7F7F7F0.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #B257DB

    #B257DB

    oklch(62.3% 0.204 313.9)

  • #569C00

    #569C00

    oklch(62.2% 0.178 133.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B257DB

    #B257DB

    oklch(62.3% 0.204 313.9)

  • #7D6DFB

    #7D6DFB

    oklch(62.3% 0.204 283.9)

  • #D545A5

    #D545A5

    oklch(62.2% 0.204 343.8)

Open the analogous palette in the generator

Split complementary

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

  • #B257DB

    #B257DB

    oklch(62.3% 0.204 313.9)

  • #958A00

    #958A00

    oklch(62.3% 0.132 103.9)

  • #009F71

    #009F71

    oklch(62.2% 0.132 164.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B257DB

    #B257DB

    oklch(62.3% 0.204 313.9)

  • #B67900

    #B67900

    oklch(62.4% 0.132 73.9)

  • #009B9A

    #009B9A

    oklch(62.4% 0.107 194)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B257DB

    #B257DB

    oklch(62.3% 0.204 313.9)

  • #DC5800

    #DC5800

    oklch(62.4% 0.182 43.9)

  • #569C00

    #569C00

    oklch(62.2% 0.178 133.8)

  • #0095BB

    #0095BB

    oklch(62.2% 0.117 224.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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