#B038CF

Closest named color: Dark Orchid (#9932CC). oklch(57.9% 0.231 318.4), rgb(176, 56, 207).

Aa

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

About this color

#B038CF is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.231 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.047 away. White text reads best on it, at 4.86:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.231)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.31:1
White text4.86:1

Values

HEX#B038CF
RGBrgb(176, 56, 207)
HSLhsl(288, 61%, 52%)
OKLCHoklch(57.9% 0.231 318.4)

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 #B038CF 4.86:1 AA Lc -78.1 Fine for body text
Black text on #B038CF 4.31:1 AA large text Lc 31.4 Non-text elements, placeholder text
#B038CF text on white 4.86:1 AA Lc 72.7 Content text, not long reading
#B038CF text on black 4.31:1 AA large text Lc -29.0 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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #EACEF2

    oklch(88.6% 0.057 318.7)

  4. Step 300

    300

    #DDABEC

    oklch(80.8% 0.104 318.3)

  5. Step 400

    400

    #CB7BE2

    oklch(70.6% 0.166 318.4)

  6. Step 500

    500

    #BD53DA

    oklch(63.1% 0.213 318.4)

  7. Step 600

    600 (this color)

    #B038CF

    oklch(57.9% 0.231 318.4)

  8. Step 700

    700

    #901EAC

    oklch(49% 0.215 318.4)

  9. Step 800

    800

    #751D8B

    oklch(42.6% 0.178 318.5)

  10. Step 900

    900

    #5F206F

    oklch(37.6% 0.139 318.8)

  11. Step 950

    950

    #381541

    oklch(27.1% 0.087 319)

Export this scale for Tailwind in the Tailwind colors tool

#B038CF 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)#006AD30.223
Deuteranopia (no green cones)#4075CC0.199
Tritanopia (no blue cones)#AF57810.145
Achromatopsia (no color)#7171710.233

Harmonies

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

Complementary

The opposite hue (180°).

  • #B038CF

    #B038CF

    oklch(57.9% 0.231 318.4)

  • #379100

    #379100

    oklch(57.9% 0.18 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B038CF

    #B038CF

    oklch(57.9% 0.231 318.4)

  • #7C53F7

    #7C53F7

    oklch(58% 0.231 288.5)

  • #D21991

    #D21991

    oklch(57.9% 0.232 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #B038CF

    #B038CF

    oklch(57.9% 0.231 318.4)

  • #817F00

    #817F00

    oklch(57.9% 0.125 108.6)

  • #00906D

    #00906D

    oklch(58% 0.117 168.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B038CF

    #B038CF

    oklch(57.9% 0.231 318.4)

  • #A07000

    #A07000

    oklch(58% 0.12 78.9)

  • #008B8F

    #008B8F

    oklch(57.8% 0.098 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B038CF

    #B038CF

    oklch(57.9% 0.231 318.4)

  • #C15600

    #C15600

    oklch(57.9% 0.157 48.2)

  • #379100

    #379100

    oklch(57.9% 0.18 138.4)

  • #0086AF

    #0086AF

    oklch(57.9% 0.114 228.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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