#B238BB

Closest named color: Purpley Pink (#C83CB9). oklch(57% 0.216 325), rgb(178, 56, 187).

Aa

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

About this color

#B238BB is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.216 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.045 away. White text reads best on it, at 5.02:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.216)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.17:1
White text5.02:1

Values

HEX#B238BB
RGBrgb(178, 56, 187)
HSLhsl(296, 54%, 48%)
OKLCHoklch(57% 0.216 325)

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 #B238BB 5.02:1 AA Lc -79.1 Fine for body text
Black text on #B238BB 4.17:1 AA large text Lc 30.4 Non-text elements, placeholder text
#B238BB text on white 5.02:1 AA Lc 73.7 Content text, not long reading
#B238BB text on black 4.17:1 AA large text Lc -28.0 Dividers and decoration only

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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #ECCEED

    oklch(88.6% 0.053 325)

  4. Step 300

    300

    #E1ABE3

    oklch(80.9% 0.097 325.3)

  5. Step 400

    400

    #D07CD5

    oklch(70.7% 0.154 325)

  6. Step 500

    500

    #C255CA

    oklch(63.1% 0.198 324.9)

  7. Step 600

    600 (this color)

    #B238BB

    oklch(57% 0.216 325)

  8. Step 700

    700

    #95239D

    oklch(49.1% 0.201 325.1)

  9. Step 800

    800

    #79207F

    oklch(42.7% 0.166 325.2)

  10. Step 900

    900

    #622266

    oklch(37.7% 0.129 325.3)

  11. Step 950

    950

    #39153C

    oklch(26.9% 0.082 324.5)

Export this scale for Tailwind in the Tailwind colors tool

#B238BB 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)#1565BF0.226
Deuteranopia (no green cones)#5274B80.191
Tritanopia (no blue cones)#B64E760.125
Achromatopsia (no color)#6F6F6F0.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #B238BB

    #B238BB

    oklch(57% 0.216 325)

  • #009125

    #009125

    oklch(57.1% 0.18 144.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B238BB

    #B238BB

    oklch(57% 0.216 325)

  • #854FE6

    #854FE6

    oklch(57% 0.216 295)

  • #CF227E

    #CF227E

    oklch(57.1% 0.216 354.9)

Open the analogous palette in the generator

Split complementary

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

  • #B238BB

    #B238BB

    oklch(57% 0.216 325)

  • #767F00

    #767F00

    oklch(56.9% 0.129 114.6)

  • #008B74

    #008B74

    oklch(56.9% 0.107 175.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B238BB

    #B238BB

    oklch(57% 0.216 325)

  • #977100

    #977100

    oklch(57.1% 0.117 85.1)

  • #008792

    #008792

    oklch(56.9% 0.097 204.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B238BB

    #B238BB

    oklch(57% 0.216 325)

  • #B45C00

    #B45C00

    oklch(56.9% 0.141 55.1)

  • #009125

    #009125

    oklch(57.1% 0.18 144.9)

  • #0081B4

    #0081B4

    oklch(57% 0.121 235.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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