#B262B8

Closest named color: Soft Purple (#A66FB5). oklch(61.9% 0.152 324.6), rgb(178, 98, 184).

Aa

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

About this color

#B262B8 is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.152 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.036 away. Black text reads best on it, at 5.33:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.152)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.33:1
White text3.93:1

Values

HEX#B262B8
RGBrgb(178, 98, 184)
HSLhsl(296, 38%, 55%)
OKLCHoklch(61.9% 0.152 324.6)

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 #B262B8 3.93:1 AA large text Lc -71.9 Content text, not long reading
Black text on #B262B8 5.33:1 AA Lc 37.6 Non-text elements, placeholder text
#B262B8 text on white 3.93:1 AA large text Lc 66.4 Content text, not long reading
#B262B8 text on black 5.33:1 AA Lc -35.2 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F2

    oklch(93.6% 0.022 325.8)

  3. Step 200

    200

    #E8D0E9

    oklch(88.5% 0.043 324.7)

  4. Step 300

    300

    #D9B1DC

    oklch(80.9% 0.074 324)

  5. Step 400

    400

    #C686CA

    oklch(70.7% 0.119 324.7)

  6. Step 500

    500 (this color)

    #B262B8

    oklch(61.9% 0.152 324.6)

  7. Step 600

    600

    #A14AA8

    oklch(55.6% 0.166 324.6)

  8. Step 700

    700

    #8A3B90

    oklch(49.2% 0.153 324.8)

  9. Step 800

    800

    #703175

    oklch(42.7% 0.128 324.6)

  10. Step 900

    900

    #5B2C5E

    oklch(37.7% 0.099 325.1)

  11. Step 950

    950

    #351B37

    oklch(27% 0.061 324.5)

Export this scale for Tailwind in the Tailwind colors tool

#B262B8 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)#587ABB0.144
Deuteranopia (no green cones)#6F84B50.129
Tritanopia (no blue cones)#B56C840.090
Achromatopsia (no color)#8080800.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #B262B8

    #B262B8

    oklch(61.9% 0.152 324.6)

  • #409D46

    #409D46

    oklch(62% 0.152 144.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B262B8

    #B262B8

    oklch(61.9% 0.152 324.6)

  • #8D70D7

    #8D70D7

    oklch(61.9% 0.152 294.5)

  • #C9598B

    #C9598B

    oklch(61.8% 0.152 354.5)

Open the analogous palette in the generator

Split complementary

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

  • #B262B8

    #B262B8

    oklch(61.9% 0.152 324.6)

  • #858F00

    #858F00

    oklch(62.1% 0.14 114.6)

  • #009C81

    #009C81

    oklch(61.8% 0.117 174.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B262B8

    #B262B8

    oklch(61.9% 0.152 324.6)

  • #A97E00

    #A97E00

    oklch(61.9% 0.127 84.5)

  • #0098A4

    #0098A4

    oklch(62% 0.106 204.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B262B8

    #B262B8

    oklch(61.9% 0.152 324.6)

  • #C96808

    #C96808

    oklch(61.9% 0.151 54.8)

  • #409D46

    #409D46

    oklch(62% 0.152 144.6)

  • #0091C8

    #0091C8

    oklch(61.9% 0.13 234.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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