#A278DF

Closest named color: Medium Purple (#9370DB). oklch(65.7% 0.153 301.1), rgb(162, 120, 223).

Aa

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

About this color

#A278DF is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.153 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.033 away. Black text reads best on it, at 6.28:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.153)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.28:1
White text3.33:1

Values

HEX#A278DF
RGBrgb(162, 120, 223)
HSLhsl(264, 62%, 67%)
OKLCHoklch(65.7% 0.153 301.1)

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 #A278DF 3.33:1 AA large text Lc -66.1 Content text, not long reading
Black text on #A278DF 6.28:1 AA Lc 43.4 Non-text elements, placeholder text
#A278DF text on white 3.33:1 AA large text Lc 60.6 Content text, not long reading
#A278DF text on black 6.28:1 AA Lc -41.1 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 500.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DDD3F1

    oklch(88.4% 0.042 300.7)

  4. Step 300

    300

    #C9B6EA

    oklch(81% 0.075 301.4)

  5. Step 400

    400

    #AD8EDF

    oklch(70.6% 0.12 301)

  6. Step 500

    500 (this color)

    #A278DF

    oklch(65.7% 0.153 301.1)

  7. Step 600

    600

    #8556C3

    oklch(55.6% 0.165 301.1)

  8. Step 700

    700

    #7145A9

    oklch(49.1% 0.155 301.1)

  9. Step 800

    800

    #5C3A89

    oklch(42.8% 0.128 301)

  10. Step 900

    900

    #4B326D

    oklch(37.6% 0.1 301.3)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#A278DF 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)#5A8CE30.103
Deuteranopia (no green cones)#648CDC0.095
Tritanopia (no blue cones)#978AA10.117
Achromatopsia (no color)#8D8D8D0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #A278DF

    #A278DF

    oklch(65.7% 0.153 301.1)

  • #849E13

    #849E13

    oklch(65.6% 0.152 120.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A278DF

    #A278DF

    oklch(65.7% 0.153 301.1)

  • #7089EE

    #7089EE

    oklch(65.7% 0.153 271.2)

  • #C56BBC

    #C56BBC

    oklch(65.8% 0.153 330.9)

Open the analogous palette in the generator

Split complementary

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

  • #A278DF

    #A278DF

    oklch(65.7% 0.153 301.1)

  • #B08D00

    #B08D00

    oklch(65.7% 0.134 91.1)

  • #35AB5E

    #35AB5E

    oklch(65.8% 0.154 151)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A278DF

    #A278DF

    oklch(65.7% 0.153 301.1)

  • #D27700

    #D27700

    oklch(65.6% 0.152 61)

  • #00A896

    #00A896

    oklch(65.6% 0.118 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A278DF

    #A278DF

    oklch(65.7% 0.153 301.1)

  • #DF6854

    #DF6854

    oklch(65.7% 0.153 31.3)

  • #849E13

    #849E13

    oklch(65.6% 0.152 120.9)

  • #00A3B9

    #00A3B9

    oklch(65.6% 0.114 211.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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