#B262DB

Closest named color: Medium Orchid (#BA55D3). oklch(63.8% 0.188 312.8), rgb(178, 98, 219).

Aa

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

About this color

#B262DB is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.188 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.029 away. Black text reads best on it, at 5.66:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.188)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.66:1
White text3.70:1

Values

HEX#B262DB
RGBrgb(178, 98, 219)
HSLhsl(280, 63%, 62%)
OKLCHoklch(63.8% 0.188 312.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 #B262DB 3.70:1 AA large text Lc -69.7 Content text, not long reading
Black text on #B262DB 5.66:1 AA Lc 39.9 Non-text elements, placeholder text
#B262DB text on white 3.70:1 AA large text Lc 64.2 Content text, not long reading
#B262DB text on black 5.66:1 AA Lc -37.4 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E5D0F2

    oklch(88.5% 0.051 312.6)

  4. Step 300

    300

    #D5B0EB

    oklch(80.9% 0.09 312.7)

  5. Step 400

    400

    #C083E1

    oklch(70.6% 0.147 312.9)

  6. Step 500

    500 (this color)

    #B262DB

    oklch(63.8% 0.188 312.8)

  7. Step 600

    600

    #9B42C6

    oklch(55.6% 0.204 312.7)

  8. Step 700

    700

    #8532AB

    oklch(49.1% 0.19 313)

  9. Step 800

    800

    #6C2B8B

    oklch(42.7% 0.158 312.8)

  10. Step 900

    900

    #57296F

    oklch(37.7% 0.122 312.3)

  11. Step 950

    950

    #331941

    oklch(27% 0.077 312.4)

Export this scale for Tailwind in the Tailwind colors tool

#B262DB 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)#4080DF0.164
Deuteranopia (no green cones)#5C87D80.146
Tritanopia (no blue cones)#AE77950.129
Achromatopsia (no color)#8585850.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #B262DB

    #B262DB

    oklch(63.8% 0.188 312.8)

  • #5DA100

    #5DA100

    oklch(63.8% 0.18 133)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B262DB

    #B262DB

    oklch(63.8% 0.188 312.8)

  • #7F76F8

    #7F76F8

    oklch(63.8% 0.188 282.8)

  • #D453A9

    #D453A9

    oklch(63.8% 0.187 342.9)

Open the analogous palette in the generator

Split complementary

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

  • #B262DB

    #B262DB

    oklch(63.8% 0.188 312.8)

  • #9B8E00

    #9B8E00

    oklch(63.8% 0.134 103)

  • #00A572

    #00A572

    oklch(63.8% 0.139 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B262DB

    #B262DB

    oklch(63.8% 0.188 312.8)

  • #BD7C00

    #BD7C00

    oklch(63.8% 0.136 72.7)

  • #00A09D

    #00A09D

    oklch(63.8% 0.109 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B262DB

    #B262DB

    oklch(63.8% 0.188 312.8)

  • #E45905

    #E45905

    oklch(63.8% 0.188 42.7)

  • #5DA100

    #5DA100

    oklch(63.8% 0.18 133)

  • #009ABF

    #009ABF

    oklch(63.7% 0.118 222.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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