#9845C8

Closest named color: Dark Orchid (#9932CC). oklch(55.7% 0.201 310.6), rgb(152, 69, 200).

Aa

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

About this color

#9845C8 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.201 and its hue 311°. 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.22:1.

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

Values

HEX#9845C8
RGBrgb(152, 69, 200)
HSLhsl(278, 54%, 53%)
OKLCHoklch(55.7% 0.201 310.6)

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 #9845C8 5.22:1 AA Lc -80.6 Fine for body text
Black text on #9845C8 4.02:1 AA large text Lc 28.8 Dividers and decoration only
#9845C8 text on white 5.22:1 AA Lc 75.2 Fine for body text
#9845C8 text on black 4.02: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F7

    oklch(93.5% 0.026 310.4)

  3. Step 200

    200

    #E4D0F2

    oklch(88.4% 0.051 311.5)

  4. Step 300

    300

    #D3B1EC

    oklch(81% 0.089 310.5)

  5. Step 400

    400

    #BD85E3

    oklch(70.8% 0.145 310.6)

  6. Step 500

    500

    #AC62DA

    oklch(63% 0.185 310.6)

  7. Step 600

    600 (this color)

    #9845C8

    oklch(55.7% 0.201 310.6)

  8. Step 700

    700

    #8135AD

    oklch(49.1% 0.187 310.3)

  9. Step 800

    800

    #692D8C

    oklch(42.7% 0.155 310.5)

  10. Step 900

    900

    #552A70

    oklch(37.7% 0.121 310.2)

  11. Step 950

    950

    #321A41

    oklch(27.1% 0.075 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#9845C8 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)#0069CC0.179
Deuteranopia (no green cones)#346EC50.161
Tritanopia (no blue cones)#9260810.137
Achromatopsia (no color)#6C6C6C0.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #9845C8

    #9845C8

    oklch(55.7% 0.201 310.6)

  • #538400

    #538400

    oklch(55.7% 0.152 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9845C8

    #9845C8

    oklch(55.7% 0.201 310.6)

  • #645BE4

    #645BE4

    oklch(55.8% 0.201 280.6)

  • #BA3196

    #BA3196

    oklch(55.6% 0.201 340.6)

Open the analogous palette in the generator

Split complementary

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

  • #9845C8

    #9845C8

    oklch(55.7% 0.201 310.6)

  • #837500

    #837500

    oklch(55.8% 0.116 101)

  • #00895A

    #00895A

    oklch(55.6% 0.125 160.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9845C8

    #9845C8

    oklch(55.7% 0.201 310.6)

  • #9F6500

    #9F6500

    oklch(55.7% 0.12 70.6)

  • #008581

    #008581

    oklch(55.7% 0.096 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9845C8

    #9845C8

    oklch(55.7% 0.201 310.6)

  • #C24400

    #C24400

    oklch(55.7% 0.173 40.6)

  • #538400

    #538400

    oklch(55.7% 0.152 130.8)

  • #00819D

    #00819D

    oklch(55.8% 0.102 220.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #9845C8 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.