#B204CC

Closest named color: Vibrant Purple (#AD03DE). oklch(55.4% 0.263 321.1), rgb(178, 4, 204).

Aa

White text reads best on this color (5.55:1).

About this color

#B204CC is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.263 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.031 away. White text reads best on it, at 5.55:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.263)
Temperaturein between
Nearest nameVibrant Purple (#AD03DE)
Black text3.78:1
White text5.55:1

Values

HEX#B204CC
RGBrgb(178, 4, 204)
HSLhsl(292, 96%, 41%)
OKLCHoklch(55.4% 0.263 321.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 #B204CC 5.55:1 AA Lc -80.7 Fine for body text
Black text on #B204CC 3.78:1 AA large text Lc 28.7 Dividers and decoration only
#B204CC text on white 5.55:1 AA Lc 75.4 Fine for body text
#B204CC text on black 3.78:1 AA large text Lc -26.4 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F5E3F8

    oklch(93.6% 0.034 321.4)

  3. Step 200

    200

    #EECCF4

    oklch(88.6% 0.065 321.2)

  4. Step 300

    300

    #E4A7EF

    oklch(80.9% 0.118 321.2)

  5. Step 400

    400

    #D473E7

    oklch(70.7% 0.189 320.9)

  6. Step 500

    500

    #C743DF

    oklch(63% 0.242 321.1)

  7. Step 600

    600 (this color)

    #B204CC

    oklch(55.4% 0.263 321.1)

  8. Step 700

    700

    #9700AE

    oklch(49% 0.234 320.9)

  9. Step 800

    800

    #7D028F

    oklch(42.7% 0.202 321.4)

  10. Step 900

    900

    #651572

    oklch(37.7% 0.158 321.5)

  11. Step 950

    950

    #3B1043

    oklch(27% 0.099 321)

Export this scale for Tailwind in the Tailwind colors tool

#B204CC 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)#005ED00.248
Deuteranopia (no green cones)#2E6DC80.237
Tritanopia (no blue cones)#B343780.157
Achromatopsia (no color)#6868680.265

Harmonies

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

Complementary

The opposite hue (180°).

  • #B204CC

    #B204CC

    oklch(55.4% 0.263 321.1)

  • #1D8B00

    #1D8B00

    oklch(55.5% 0.183 141.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B204CC

    #B204CC

    oklch(55.4% 0.263 321.1)

  • #7D39FC

    #7D39FC

    oklch(55.5% 0.263 291)

  • #CB0083

    #CB0083

    oklch(55.4% 0.23 350.9)

Open the analogous palette in the generator

Split complementary

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

  • #B204CC

    #B204CC

    oklch(55.4% 0.263 321.1)

  • #767800

    #767800

    oklch(55.3% 0.121 110.9)

  • #00876A

    #00876A

    oklch(55.5% 0.109 170.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B204CC

    #B204CC

    oklch(55.4% 0.263 321.1)

  • #946A00

    #946A00

    oklch(55.3% 0.114 81.2)

  • #008389

    #008389

    oklch(55.5% 0.094 200.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B204CC

    #B204CC

    oklch(55.4% 0.263 321.1)

  • #B25400

    #B25400

    oklch(55.4% 0.144 51.1)

  • #1D8B00

    #1D8B00

    oklch(55.5% 0.183 141.1)

  • #007DA8

    #007DA8

    oklch(55.3% 0.112 231.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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