#AF34C2

Closest named color: Dark Orchid (#9932CC). oklch(56.6% 0.224 321.9), rgb(175, 52, 194).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.224)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.09:1
White text5.13:1

Values

HEX#AF34C2
RGBrgb(175, 52, 194)
HSLhsl(292, 58%, 48%)
OKLCHoklch(56.6% 0.224 321.9)

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 #AF34C2 5.13:1 AA Lc -79.6 Fine for body text
Black text on #AF34C2 4.09:1 AA large text Lc 29.9 Dividers and decoration only
#AF34C2 text on white 5.13:1 AA Lc 74.2 Content text, not long reading
#AF34C2 text on black 4.09:1 AA large text Lc -27.5 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F6

    oklch(93.7% 0.029 322.4)

  3. Step 200

    200

    #EBCDF0

    oklch(88.4% 0.057 321.4)

  4. Step 300

    300

    #E0ABE8

    oklch(81% 0.102 322)

  5. Step 400

    400

    #CE7BDC

    oklch(70.7% 0.162 321.7)

  6. Step 500

    500

    #C053D2

    oklch(63% 0.207 321.8)

  7. Step 600

    600 (this color)

    #AF34C2

    oklch(56.6% 0.224 321.9)

  8. Step 700

    700

    #9320A4

    oklch(49% 0.208 322)

  9. Step 800

    800

    #781E85

    oklch(42.7% 0.173 322.3)

  10. Step 900

    900

    #61216B

    oklch(37.8% 0.135 322)

  11. Step 950

    950

    #39153F

    oklch(27.1% 0.085 321.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF34C2 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)#0065C60.228
Deuteranopia (no green cones)#4872BF0.196
Tritanopia (no blue cones)#B14F790.134
Achromatopsia (no color)#6E6E6E0.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF34C2

    #AF34C2

    oklch(56.6% 0.224 321.9)

  • #109000

    #109000

    oklch(56.7% 0.191 141.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF34C2

    #AF34C2

    oklch(56.6% 0.224 321.9)

  • #7F4DEC

    #7F4DEC

    oklch(56.6% 0.225 292.1)

  • #CE1784

    #CE1784

    oklch(56.6% 0.224 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF34C2

    #AF34C2

    oklch(56.6% 0.224 321.9)

  • #797D00

    #797D00

    oklch(56.7% 0.126 112)

  • #008B6F

    #008B6F

    oklch(56.7% 0.11 172)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF34C2

    #AF34C2

    oklch(56.6% 0.224 321.9)

  • #986E00

    #986E00

    oklch(56.6% 0.117 82)

  • #00878E

    #00878E

    oklch(56.7% 0.096 201.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF34C2

    #AF34C2

    oklch(56.6% 0.224 321.9)

  • #B65800

    #B65800

    oklch(56.6% 0.145 52.2)

  • #109000

    #109000

    oklch(56.7% 0.191 141.9)

  • #0081AE

    #0081AE

    oklch(56.6% 0.115 231.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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