#B252C8

Closest named color: Medium Orchid (#BA55D3). oklch(60.6% 0.193 319.8), rgb(178, 82, 200).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.193)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.93:1
White text4.25:1

Values

HEX#B252C8
RGBrgb(178, 82, 200)
HSLhsl(289, 52%, 55%)
OKLCHoklch(60.6% 0.193 319.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 #B252C8 4.25:1 AA large text Lc -74.3 Content text, not long reading
Black text on #B252C8 4.93:1 AA Lc 35.3 Non-text elements, placeholder text
#B252C8 text on white 4.25:1 AA large text Lc 68.8 Content text, not long reading
#B252C8 text on black 4.93:1 AA Lc -32.8 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

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CFEF

    oklch(88.6% 0.051 319.9)

  4. Step 300

    300

    #DCADE7

    oklch(80.9% 0.095 319.8)

  5. Step 400

    400

    #C97FDB

    oklch(70.7% 0.151 319.6)

  6. Step 500

    500 (this color)

    #B252C8

    oklch(60.6% 0.193 319.8)

  7. Step 600

    600

    #A63ABD

    oklch(55.6% 0.21 320.1)

  8. Step 700

    700

    #8E2BA3

    oklch(49.1% 0.194 320)

  9. Step 800

    800

    #732684

    oklch(42.7% 0.16 319.8)

  10. Step 900

    900

    #5D256A

    oklch(37.6% 0.125 319.6)

  11. Step 950

    950

    #37173E

    oklch(27% 0.079 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#B252C8 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)#3774CC0.185
Deuteranopia (no green cones)#5B7EC50.161
Tritanopia (no blue cones)#B365850.121
Achromatopsia (no color)#7B7B7B0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #B252C8

    #B252C8

    oklch(60.6% 0.193 319.8)

  • #319B04

    #319B04

    oklch(60.5% 0.193 139.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B252C8

    #B252C8

    oklch(60.6% 0.193 319.8)

  • #8466EB

    #8466EB

    oklch(60.7% 0.192 289.8)

  • #D04392

    #D04392

    oklch(60.5% 0.192 349.9)

Open the analogous palette in the generator

Split complementary

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

  • #B252C8

    #B252C8

    oklch(60.6% 0.193 319.8)

  • #888800

    #888800

    oklch(60.7% 0.132 109.8)

  • #009876

    #009876

    oklch(60.4% 0.12 169.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B252C8

    #B252C8

    oklch(60.6% 0.193 319.8)

  • #A97800

    #A97800

    oklch(60.6% 0.126 80)

  • #00949A

    #00949A

    oklch(60.6% 0.103 199.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B252C8

    #B252C8

    oklch(60.6% 0.193 319.8)

  • #CB5E00

    #CB5E00

    oklch(60.6% 0.161 49.7)

  • #319B04

    #319B04

    oklch(60.5% 0.193 139.8)

  • #008EBB

    #008EBB

    oklch(60.5% 0.12 229.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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