#A838C6

Closest named color: Dark Orchid (#9932CC). oklch(56.3% 0.221 318.2), rgb(168, 56, 198).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.221)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.04:1
White text5.19:1

Values

HEX#A838C6
RGBrgb(168, 56, 198)
HSLhsl(287, 56%, 50%)
OKLCHoklch(56.3% 0.221 318.2)

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 #A838C6 5.19:1 AA Lc -80.1 Fine for body text
Black text on #A838C6 4.04:1 AA large text Lc 29.4 Dividers and decoration only
#A838C6 text on white 5.19:1 AA Lc 74.7 Content text, not long reading
#A838C6 text on black 4.04:1 AA large text Lc -27.0 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

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E9CEF1

    oklch(88.5% 0.055 318.4)

  4. Step 300

    300

    #DCACEA

    oklch(80.8% 0.1 318.5)

  5. Step 400

    400

    #C97EE0

    oklch(70.8% 0.158 317.9)

  6. Step 500

    500

    #BA57D7

    oklch(63% 0.203 317.9)

  7. Step 600

    600 (this color)

    #A838C6

    oklch(56.3% 0.221 318.2)

  8. Step 700

    700

    #8E26A9

    oklch(49.1% 0.205 318.2)

  9. Step 800

    800

    #732289

    oklch(42.6% 0.17 318)

  10. Step 900

    900

    #5D236E

    oklch(37.6% 0.133 317.7)

  11. Step 950

    950

    #371640

    oklch(27% 0.084 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#A838C6 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)#0066CA0.213
Deuteranopia (no green cones)#3F70C30.189
Tritanopia (no blue cones)#A7547C0.138
Achromatopsia (no color)#6D6D6D0.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #A838C6

    #A838C6

    oklch(56.3% 0.221 318.2)

  • #368B00

    #368B00

    oklch(56.2% 0.174 138.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A838C6

    #A838C6

    oklch(56.3% 0.221 318.2)

  • #7651EC

    #7651EC

    oklch(56.3% 0.221 288.1)

  • #C91E8B

    #C91E8B

    oklch(56.3% 0.22 348.3)

Open the analogous palette in the generator

Split complementary

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

  • #A838C6

    #A838C6

    oklch(56.3% 0.221 318.2)

  • #7C7A00

    #7C7A00

    oklch(56.3% 0.122 108.6)

  • #008A68

    #008A68

    oklch(56.2% 0.114 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A838C6

    #A838C6

    oklch(56.3% 0.221 318.2)

  • #9A6B00

    #9A6B00

    oklch(56.2% 0.117 78.3)

  • #00868A

    #00868A

    oklch(56.3% 0.096 198.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A838C6

    #A838C6

    oklch(56.3% 0.221 318.2)

  • #BA5200

    #BA5200

    oklch(56.3% 0.153 47.9)

  • #368B00

    #368B00

    oklch(56.2% 0.174 138.2)

  • #0081A8

    #0081A8

    oklch(56.3% 0.11 228.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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