#AB48C6

Closest named color: Medium Orchid (#BA55D3). oklch(58.3% 0.202 318.4), rgb(171, 72, 198).

Aa

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

About this color

#AB48C6 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.202 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.042 away. White text reads best on it, at 4.69:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.202)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.47:1
White text4.69:1

Values

HEX#AB48C6
RGBrgb(171, 72, 198)
HSLhsl(287, 53%, 53%)
OKLCHoklch(58.3% 0.202 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 #AB48C6 4.69:1 AA Lc -77.3 Fine for body text
Black text on #AB48C6 4.47:1 AA large text Lc 32.2 Non-text elements, placeholder text
#AB48C6 text on white 4.69:1 AA Lc 71.9 Content text, not long reading
#AB48C6 text on black 4.47:1 AA large text Lc -29.8 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFEF

    oklch(88.5% 0.051 318.8)

  4. Step 300

    300

    #DAAEE7

    oklch(80.9% 0.092 318.4)

  5. Step 400

    400

    #C681DA

    oklch(70.6% 0.145 318.4)

  6. Step 500

    500

    #B75DD0

    oklch(63.1% 0.186 318.5)

  7. Step 600

    600 (this color)

    #AB48C6

    oklch(58.3% 0.202 318.4)

  8. Step 700

    700

    #8B2FA3

    oklch(49.1% 0.188 318.5)

  9. Step 800

    800

    #712984

    oklch(42.7% 0.156 318.5)

  10. Step 900

    900

    #5B276A

    oklch(37.6% 0.121 318.1)

  11. Step 950

    950

    #36183E

    oklch(27.1% 0.077 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB48C6 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)#206DCA0.196
Deuteranopia (no green cones)#4E77C30.169
Tritanopia (no blue cones)#AB5E810.127
Achromatopsia (no color)#7474740.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB48C6

    #AB48C6

    oklch(58.3% 0.202 318.4)

  • #389200

    #389200

    oklch(58.2% 0.181 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB48C6

    #AB48C6

    oklch(58.3% 0.202 318.4)

  • #7B5DE9

    #7B5DE9

    oklch(58.3% 0.202 288.4)

  • #CA368F

    #CA368F

    oklch(58.3% 0.202 348.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB48C6

    #AB48C6

    oklch(58.3% 0.202 318.4)

  • #838000

    #838000

    oklch(58.3% 0.126 108.1)

  • #00916E

    #00916E

    oklch(58.3% 0.118 168.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB48C6

    #AB48C6

    oklch(58.3% 0.202 318.4)

  • #A27100

    #A27100

    oklch(58.4% 0.122 78.5)

  • #008D91

    #008D91

    oklch(58.4% 0.099 198.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB48C6

    #AB48C6

    oklch(58.3% 0.202 318.4)

  • #C35700

    #C35700

    oklch(58.4% 0.158 48.3)

  • #389200

    #389200

    oklch(58.2% 0.181 138.3)

  • #0087B0

    #0087B0

    oklch(58.2% 0.114 228.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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