#A238CC

Closest named color: Dark Orchid (#9932CC). oklch(55.8% 0.224 314.4), rgb(162, 56, 204).

Aa

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

About this color

#A238CC is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.224 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.021 away. White text reads best on it, at 5.28:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.224)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text3.97:1
White text5.28:1

Values

HEX#A238CC
RGBrgb(162, 56, 204)
HSLhsl(283, 59%, 51%)
OKLCHoklch(55.8% 0.224 314.4)

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 #A238CC 5.28:1 AA Lc -80.6 Fine for body text
Black text on #A238CC 3.97:1 AA large text Lc 28.8 Dividers and decoration only
#A238CC text on white 5.28:1 AA Lc 75.3 Fine for body text
#A238CC text on black 3.97:1 AA large text Lc -26.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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E4F8

    oklch(93.5% 0.03 314)

  3. Step 200

    200

    #E7CFF3

    oklch(88.5% 0.055 314.5)

  4. Step 300

    300

    #D9ADEE

    oklch(80.9% 0.101 314.6)

  5. Step 400

    400

    #C57FE5

    oklch(70.7% 0.16 314.5)

  6. Step 500

    500

    #B659DE

    oklch(63.2% 0.206 314.4)

  7. Step 600

    600 (this color)

    #A238CC

    oklch(55.8% 0.224 314.4)

  8. Step 700

    700

    #8A27B0

    oklch(49.1% 0.208 314.3)

  9. Step 800

    800

    #70238E

    oklch(42.6% 0.172 314.5)

  10. Step 900

    900

    #5B2472

    oklch(37.8% 0.135 314.4)

  11. Step 950

    950

    #351643

    oklch(26.9% 0.086 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#A238CC 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)#0066D00.203
Deuteranopia (no green cones)#306EC90.189
Tritanopia (no blue cones)#9E587F0.146
Achromatopsia (no color)#6C6C6C0.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #A238CC

    #A238CC

    oklch(55.8% 0.224 314.4)

  • #478700

    #478700

    oklch(55.8% 0.162 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A238CC

    #A238CC

    oklch(55.8% 0.224 314.4)

  • #6D52EF

    #6D52EF

    oklch(55.9% 0.224 284.4)

  • #C51C92

    #C51C92

    oklch(55.8% 0.223 344.6)

Open the analogous palette in the generator

Split complementary

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

  • #A238CC

    #A238CC

    oklch(55.8% 0.224 314.4)

  • #807700

    #807700

    oklch(56% 0.118 104.3)

  • #008962

    #008962

    oklch(55.8% 0.118 164.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A238CC

    #A238CC

    oklch(55.8% 0.224 314.4)

  • #9C6800

    #9C6800

    oklch(55.9% 0.118 74.7)

  • #008585

    #008585

    oklch(55.8% 0.095 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A238CC

    #A238CC

    oklch(55.8% 0.224 314.4)

  • #BD4C00

    #BD4C00

    oklch(55.9% 0.161 44.5)

  • #478700

    #478700

    oklch(55.8% 0.162 134.5)

  • #0080A2

    #0080A2

    oklch(55.8% 0.106 224.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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