#B640CF

Closest named color: Medium Orchid (#BA55D3). oklch(59.5% 0.225 320.1), rgb(182, 64, 207).

Aa

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

About this color

#B640CF is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.225 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.038 away. Black text reads best on it, at 4.62:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.225)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.62:1
White text4.54:1

Values

HEX#B640CF
RGBrgb(182, 64, 207)
HSLhsl(290, 60%, 53%)
OKLCHoklch(59.5% 0.225 320.1)

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 #B640CF 4.54:1 AA Lc -76.1 Fine for body text
Black text on #B640CF 4.62:1 AA Lc 33.5 Non-text elements, placeholder text
#B640CF text on white 4.54:1 AA Lc 70.6 Content text, not long reading
#B640CF text on black 4.62:1 AA Lc -31.1 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #ECCDF3

    oklch(88.6% 0.061 320)

  4. Step 300

    300

    #E0A9ED

    oklch(80.8% 0.111 319.8)

  5. Step 400

    400

    #D078E3

    oklch(70.8% 0.175 320.3)

  6. Step 500

    500 (this color)

    #B640CF

    oklch(59.5% 0.225 320.1)

  7. Step 600

    600

    #AD23C9

    oklch(55.6% 0.245 319.8)

  8. Step 700

    700

    #950FAD

    oklch(49.1% 0.227 320.3)

  9. Step 800

    800

    #79158C

    oklch(42.7% 0.188 320.3)

  10. Step 900

    900

    #621C70

    oklch(37.7% 0.147 320.4)

  11. Step 950

    950

    #391342

    oklch(27% 0.092 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#B640CF 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)#006ED30.227
Deuteranopia (no green cones)#4D7ACC0.193
Tritanopia (no blue cones)#B75A830.138
Achromatopsia (no color)#7676760.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #B640CF

    #B640CF

    oklch(59.5% 0.225 320.1)

  • #2C9800

    #2C9800

    oklch(59.5% 0.192 140.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B640CF

    #B640CF

    oklch(59.5% 0.225 320.1)

  • #8359F8

    #8359F8

    oklch(59.5% 0.225 290)

  • #D72891

    #D72891

    oklch(59.5% 0.225 350)

Open the analogous palette in the generator

Split complementary

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

  • #B640CF

    #B640CF

    oklch(59.5% 0.225 320.1)

  • #848400

    #848400

    oklch(59.4% 0.129 109.8)

  • #009574

    #009574

    oklch(59.6% 0.118 170)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B640CF

    #B640CF

    oklch(59.5% 0.225 320.1)

  • #A57500

    #A57500

    oklch(59.6% 0.123 79.9)

  • #009096

    #009096

    oklch(59.4% 0.101 200)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B640CF

    #B640CF

    oklch(59.5% 0.225 320.1)

  • #C55C00

    #C55C00

    oklch(59.4% 0.157 50.2)

  • #2C9800

    #2C9800

    oklch(59.5% 0.192 140.1)

  • #008BB7

    #008BB7

    oklch(59.6% 0.118 229.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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