#AB52CE

Closest named color: Medium Orchid (#BA55D3). oklch(60% 0.195 315.3), rgb(171, 82, 206).

Aa

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

About this color

#AB52CE is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.195 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.030 away. Black text reads best on it, at 4.82:1.

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

Values

HEX#AB52CE
RGBrgb(171, 82, 206)
HSLhsl(283, 56%, 56%)
OKLCHoklch(60% 0.195 315.3)

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 #AB52CE 4.34:1 AA large text Lc -75.0 Fine for body text
Black text on #AB52CE 4.82:1 AA Lc 34.5 Non-text elements, placeholder text
#AB52CE text on white 4.34:1 AA large text Lc 69.5 Content text, not long reading
#AB52CE text on black 4.82:1 AA Lc -32.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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF2

    oklch(88.5% 0.054 315.3)

  4. Step 300

    300

    #D8AEEB

    oklch(80.8% 0.095 315.1)

  5. Step 400

    400

    #C481E1

    oklch(70.7% 0.152 315.1)

  6. Step 500

    500 (this color)

    #AB52CE

    oklch(60% 0.195 315.3)

  7. Step 600

    600

    #A03CC6

    oklch(55.6% 0.213 315.1)

  8. Step 700

    700

    #892CAB

    oklch(49.1% 0.198 315.2)

  9. Step 800

    800

    #6F278A

    oklch(42.6% 0.163 315.2)

  10. Step 900

    900

    #5A266F

    oklch(37.7% 0.128 314.9)

  11. Step 950

    950

    #351741

    oklch(27% 0.082 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#AB52CE 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)#2B74D20.181
Deuteranopia (no green cones)#517CCB0.158
Tritanopia (no blue cones)#A968880.130
Achromatopsia (no color)#7979790.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB52CE

    #AB52CE

    oklch(60% 0.195 315.3)

  • #4C9600

    #4C9600

    oklch(60.1% 0.176 135.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB52CE

    #AB52CE

    oklch(60% 0.195 315.3)

  • #7966EE

    #7966EE

    oklch(60% 0.197 285.2)

  • #CC419A

    #CC419A

    oklch(60% 0.196 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB52CE

    #AB52CE

    oklch(60% 0.195 315.3)

  • #8C8400

    #8C8400

    oklch(60.1% 0.128 105.4)

  • #00976E

    #00976E

    oklch(60% 0.125 165.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB52CE

    #AB52CE

    oklch(60% 0.195 315.3)

  • #AB7300

    #AB7300

    oklch(59.9% 0.126 75.1)

  • #009393

    #009393

    oklch(60.1% 0.103 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB52CE

    #AB52CE

    oklch(60% 0.195 315.3)

  • #CF5600

    #CF5600

    oklch(60.1% 0.171 45.3)

  • #4C9600

    #4C9600

    oklch(60.1% 0.176 135.2)

  • #008EB3

    #008EB3

    oklch(60.1% 0.114 224.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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