#B262DF

Closest named color: Medium Orchid (#BA55D3). oklch(64% 0.192 311.7), rgb(178, 98, 223).

Aa

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

About this color

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

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

Values

HEX#B262DF
RGBrgb(178, 98, 223)
HSLhsl(278, 66%, 63%)
OKLCHoklch(64% 0.192 311.7)

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 #B262DF 3.68:1 AA large text Lc -69.4 Content text, not long reading
Black text on #B262DF 5.70:1 AA Lc 40.1 Non-text elements, placeholder text
#B262DF text on white 3.68:1 AA large text Lc 63.9 Content text, not long reading
#B262DF text on black 5.70:1 AA Lc -37.7 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

    #E5D0F3

    oklch(88.6% 0.052 311.9)

  4. Step 300

    300

    #D5AFED

    oklch(80.8% 0.095 312)

  5. Step 400

    400

    #BF83E4

    oklch(70.7% 0.15 311.5)

  6. Step 500

    500 (this color)

    #B262DF

    oklch(64% 0.192 311.7)

  7. Step 600

    600

    #9B40C9

    oklch(55.6% 0.209 312)

  8. Step 700

    700

    #8431AE

    oklch(49.1% 0.194 311.7)

  9. Step 800

    800

    #6B2A8D

    oklch(42.6% 0.161 311.6)

  10. Step 900

    900

    #572871

    oklch(37.7% 0.126 311.5)

  11. Step 950

    950

    #331942

    oklch(27.1% 0.078 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#B262DF 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)#3C81E30.167
Deuteranopia (no green cones)#5987DC0.148
Tritanopia (no blue cones)#AD78970.132
Achromatopsia (no color)#8585850.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #B262DF

    #B262DF

    oklch(64% 0.192 311.7)

  • #62A100

    #62A100

    oklch(64.1% 0.177 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B262DF

    #B262DF

    oklch(64% 0.192 311.7)

  • #7D76FB

    #7D76FB

    oklch(63.9% 0.192 281.9)

  • #D552AD

    #D552AD

    oklch(64% 0.192 341.5)

Open the analogous palette in the generator

Split complementary

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

  • #B262DF

    #B262DF

    oklch(64% 0.192 311.7)

  • #9D8E00

    #9D8E00

    oklch(64% 0.134 101.9)

  • #00A671

    #00A671

    oklch(64.1% 0.141 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B262DF

    #B262DF

    oklch(64% 0.192 311.7)

  • #BF7C00

    #BF7C00

    oklch(64.1% 0.137 71.8)

  • #00A19D

    #00A19D

    oklch(64% 0.11 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B262DF

    #B262DF

    oklch(64% 0.192 311.7)

  • #E75706

    #E75706

    oklch(64% 0.193 41.6)

  • #62A100

    #62A100

    oklch(64.1% 0.177 131.8)

  • #009BBF

    #009BBF

    oklch(63.9% 0.118 222)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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