#A340CD

Closest named color: Dark Orchid (#9932CC). oklch(56.8% 0.216 313.9), rgb(163, 64, 205).

Aa

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

About this color

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

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

Values

HEX#A340CD
RGBrgb(163, 64, 205)
HSLhsl(282, 59%, 53%)
OKLCHoklch(56.8% 0.216 313.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 #A340CD 5.03:1 AA Lc -79.3 Fine for body text
Black text on #A340CD 4.17:1 AA large text Lc 30.1 Non-text elements, placeholder text
#A340CD text on white 5.03:1 AA Lc 73.9 Content text, not long reading
#A340CD text on black 4.17:1 AA large text Lc -27.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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E6CFF3

    oklch(88.5% 0.055 313.4)

  4. Step 300

    300

    #D8AEED

    oklch(80.9% 0.098 314.2)

  5. Step 400

    400

    #C381E4

    oklch(70.8% 0.155 313.7)

  6. Step 500

    500

    #B45CDB

    oklch(63.2% 0.198 314.2)

  7. Step 600

    600 (this color)

    #A340CD

    oklch(56.8% 0.216 313.9)

  8. Step 700

    700

    #882CAE

    oklch(49.1% 0.201 313.8)

  9. Step 800

    800

    #6E278D

    oklch(42.7% 0.166 313.5)

  10. Step 900

    900

    #5A2670

    oklch(37.8% 0.129 314.4)

  11. Step 950

    950

    #351742

    oklch(27% 0.083 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#A340CD 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)#006AD10.198
Deuteranopia (no green cones)#3871CA0.179
Tritanopia (no blue cones)#9F5D820.142
Achromatopsia (no color)#6F6F6F0.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #A340CD

    #A340CD

    oklch(56.8% 0.216 313.9)

  • #4B8A00

    #4B8A00

    oklch(56.8% 0.163 133.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A340CD

    #A340CD

    oklch(56.8% 0.216 313.9)

  • #6E58EE

    #6E58EE

    oklch(56.8% 0.216 283.8)

  • #C62995

    #C62995

    oklch(56.9% 0.215 344.2)

Open the analogous palette in the generator

Split complementary

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

  • #A340CD

    #A340CD

    oklch(56.8% 0.216 313.9)

  • #837900

    #837900

    oklch(56.7% 0.12 103.8)

  • #008D63

    #008D63

    oklch(56.9% 0.122 163.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A340CD

    #A340CD

    oklch(56.8% 0.216 313.9)

  • #A06A00

    #A06A00

    oklch(56.8% 0.12 74.1)

  • #008888

    #008888

    oklch(56.7% 0.097 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A340CD

    #A340CD

    oklch(56.8% 0.216 313.9)

  • #C24D00

    #C24D00

    oklch(56.8% 0.165 44)

  • #4B8A00

    #4B8A00

    oklch(56.8% 0.163 133.9)

  • #0084A5

    #0084A5

    oklch(56.9% 0.106 223.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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