#AF74EB

Closest named color: Light Urple (#B36FF6). oklch(67% 0.177 305), rgb(175, 116, 235).

Aa

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

About this color

#AF74EB is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.177 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.022 away. Black text reads best on it, at 6.52:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.177)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.52:1
White text3.22:1

Values

HEX#AF74EB
RGBrgb(175, 116, 235)
HSLhsl(270, 75%, 69%)
OKLCHoklch(67% 0.177 305)

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 #AF74EB 3.22:1 AA large text Lc -64.6 Content text, not long reading
Black text on #AF74EB 6.52:1 AA Lc 44.9 Non-text elements, placeholder text
#AF74EB text on white 3.22:1 AA large text Lc 59.2 Large or bold text, headings
#AF74EB text on black 6.52:1 AA Lc -42.6 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 400.

  1. Step 50

    50

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FC

    oklch(93.7% 0.032 305.3)

  3. Step 200

    200

    #E2D0FA

    oklch(88.5% 0.06 304.6)

  4. Step 300

    300

    #D1AEFA

    oklch(80.8% 0.111 305.1)

  5. Step 400

    400 (this color)

    #AF74EB

    oklch(67% 0.177 305)

  6. Step 500

    500

    #AA58F4

    oklch(63.1% 0.226 304.9)

  7. Step 600

    600

    #9633E3

    oklch(55.6% 0.247 304.9)

  8. Step 700

    700

    #8022C5

    oklch(49% 0.229 304.9)

  9. Step 800

    800

    #68219F

    oklch(42.7% 0.189 305)

  10. Step 900

    900

    #54237E

    oklch(37.6% 0.147 304.9)

  11. Step 950

    950

    #31164A

    oklch(26.9% 0.094 304.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF74EB 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)#4F8EEF0.134
Deuteranopia (no green cones)#6190E80.122
Tritanopia (no blue cones)#A589A50.130
Achromatopsia (no color)#8F8F8F0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF74EB

    #AF74EB

    oklch(67% 0.177 305)

  • #7EA600

    #7EA600

    oklch(67.1% 0.169 125)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF74EB

    #AF74EB

    oklch(67% 0.177 305)

  • #7888FF

    #7888FF

    oklch(67.1% 0.175 274.9)

  • #D565C0

    #D565C0

    oklch(67.1% 0.177 335)

Open the analogous palette in the generator

Split complementary

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

  • #AF74EB

    #AF74EB

    oklch(67% 0.177 305)

  • #B09300

    #B09300

    oklch(67% 0.138 94.9)

  • #00B266

    #00B266

    oklch(67.1% 0.166 155)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF74EB

    #AF74EB

    oklch(67% 0.177 305)

  • #D37E00

    #D37E00

    oklch(67% 0.151 64.7)

  • #00AC9F

    #00AC9F

    oklch(67% 0.118 185.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF74EB

    #AF74EB

    oklch(67% 0.177 305)

  • #ED6442

    #ED6442

    oklch(67% 0.177 35.1)

  • #7EA600

    #7EA600

    oklch(67.1% 0.169 125)

  • #00A7C2

    #00A7C2

    oklch(67% 0.118 214.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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