#B262C4

Closest named color: Medium Orchid (#BA55D3). oklch(62.5% 0.164 320), rgb(178, 98, 196).

Aa

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

About this color

#B262C4 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.164 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.039 away. Black text reads best on it, at 5.43:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.164)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.43:1
White text3.86:1

Values

HEX#B262C4
RGBrgb(178, 98, 196)
HSLhsl(289, 45%, 58%)
OKLCHoklch(62.5% 0.164 320)

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 #B262C4 3.86:1 AA large text Lc -71.2 Content text, not long reading
Black text on #B262C4 5.43:1 AA Lc 38.4 Non-text elements, placeholder text
#B262C4 text on white 3.86:1 AA large text Lc 65.7 Content text, not long reading
#B262C4 text on black 5.43:1 AA Lc -35.9 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0EC

    oklch(88.5% 0.045 320.2)

  4. Step 300

    300

    #D8B0E1

    oklch(80.8% 0.08 320.1)

  5. Step 400

    400

    #C485D2

    oklch(70.7% 0.128 320.2)

  6. Step 500

    500 (this color)

    #B262C4

    oklch(62.5% 0.164 320)

  7. Step 600

    600

    #9F48B2

    oklch(55.6% 0.177 320.1)

  8. Step 700

    700

    #883899

    oklch(49.1% 0.165 320.2)

  9. Step 800

    800

    #6F307C

    oklch(42.8% 0.136 320.5)

  10. Step 900

    900

    #5A2B64

    oklch(37.7% 0.107 320.4)

  11. Step 950

    950

    #351A3B

    oklch(27.1% 0.068 320.1)

Export this scale for Tailwind in the Tailwind colors tool

#B262C4 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)#517CC70.151
Deuteranopia (no green cones)#6A85C10.134
Tritanopia (no blue cones)#B36F8A0.102
Achromatopsia (no color)#8282820.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #B262C4

    #B262C4

    oklch(62.5% 0.164 320)

  • #4A9E35

    #4A9E35

    oklch(62.4% 0.163 139.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B262C4

    #B262C4

    oklch(62.5% 0.164 320)

  • #8872E2

    #8872E2

    oklch(62.5% 0.164 289.9)

  • #CD5795

    #CD5795

    oklch(62.5% 0.164 350.2)

Open the analogous palette in the generator

Split complementary

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

  • #B262C4

    #B262C4

    oklch(62.5% 0.164 320)

  • #8D8E00

    #8D8E00

    oklch(62.5% 0.137 110.3)

  • #009F7C

    #009F7C

    oklch(62.5% 0.124 170)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B262C4

    #B262C4

    oklch(62.5% 0.164 320)

  • #B07D00

    #B07D00

    oklch(62.5% 0.129 79.9)

  • #009AA1

    #009AA1

    oklch(62.4% 0.106 200.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B262C4

    #B262C4

    oklch(62.5% 0.164 320)

  • #D26305

    #D26305

    oklch(62.4% 0.163 50.1)

  • #4A9E35

    #4A9E35

    oklch(62.4% 0.163 139.9)

  • #0094C4

    #0094C4

    oklch(62.4% 0.125 230.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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