#BA45CD

Closest named color: Medium Orchid (#BA55D3). oklch(60.4% 0.219 321.8), rgb(186, 69, 205).

Aa

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

About this color

#BA45CD is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.219 and its hue 322°. 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 4.82:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.219)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.82:1
White text4.35:1

Values

HEX#BA45CD
RGBrgb(186, 69, 205)
HSLhsl(292, 58%, 54%)
OKLCHoklch(60.4% 0.219 321.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 #BA45CD 4.35:1 AA large text Lc -74.8 Content text, not long reading
Black text on #BA45CD 4.82:1 AA Lc 34.8 Non-text elements, placeholder text
#BA45CD text on white 4.35:1 AA large text Lc 69.3 Content text, not long reading
#BA45CD text on black 4.82:1 AA Lc -32.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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #ECCDF1

    oklch(88.5% 0.059 321.6)

  4. Step 300

    300

    #E1AAEA

    oklch(81% 0.106 321.7)

  5. Step 400

    400

    #D178DF

    oklch(70.7% 0.171 322)

  6. Step 500

    500 (this color)

    #BA45CD

    oklch(60.4% 0.219 321.8)

  7. Step 600

    600

    #AE27C3

    oklch(55.6% 0.237 321.7)

  8. Step 700

    700

    #9615A9

    oklch(49.2% 0.221 321.8)

  9. Step 800

    800

    #791889

    oklch(42.7% 0.183 321.4)

  10. Step 900

    900

    #621D6D

    oklch(37.6% 0.143 321.8)

  11. Step 950

    950

    #3A1340

    oklch(27% 0.091 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA45CD 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)#1D71D10.221
Deuteranopia (no green cones)#567DCA0.188
Tritanopia (no blue cones)#BC5C840.132
Achromatopsia (no color)#7979790.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA45CD

    #BA45CD

    oklch(60.4% 0.219 321.8)

  • #169D00

    #169D00

    oklch(60.5% 0.203 141.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA45CD

    #BA45CD

    oklch(60.4% 0.219 321.8)

  • #895CF6

    #895CF6

    oklch(60.4% 0.219 292)

  • #DA308F

    #DA308F

    oklch(60.4% 0.219 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA45CD

    #BA45CD

    oklch(60.4% 0.219 321.8)

  • #848800

    #848800

    oklch(60.3% 0.133 111.8)

  • #009879

    #009879

    oklch(60.5% 0.118 171.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA45CD

    #BA45CD

    oklch(60.4% 0.219 321.8)

  • #A67800

    #A67800

    oklch(60.3% 0.124 81.7)

  • #00939B

    #00939B

    oklch(60.4% 0.103 201.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA45CD

    #BA45CD

    oklch(60.4% 0.219 321.8)

  • #C76000

    #C76000

    oklch(60.3% 0.156 51.7)

  • #169D00

    #169D00

    oklch(60.5% 0.203 141.8)

  • #008DBE

    #008DBE

    oklch(60.4% 0.123 232)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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