#823198

Closest named color: Warm Purple (#952E8F). oklch(47.3% 0.172 318.3), rgb(130, 49, 152).

Aa

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

About this color

#823198 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.172 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.042 away. White text reads best on it, at 7.38:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.172)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.84:1
White text7.38:1

Values

HEX#823198
RGBrgb(130, 49, 152)
HSLhsl(287, 51%, 39%)
OKLCHoklch(47.3% 0.172 318.3)

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 #823198 7.38:1 AAA Lc -89.8 Fine for body text
Black text on #823198 2.84:1 Fails Lc 19.1 Dividers and decoration only
#823198 text on white 7.38:1 AAA Lc 84.9 Fine for body text
#823198 text on black 2.84:1 Fails Lc -17.1 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 700.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E6D0ED

    oklch(88.4% 0.046 318)

  4. Step 300

    300

    #D8B0E4

    oklch(80.9% 0.084 318.3)

  5. Step 400

    400

    #C385D6

    oklch(70.8% 0.132 318)

  6. Step 500

    500

    #B363CA

    oklch(63.1% 0.169 318.3)

  7. Step 600

    600

    #9E46B7

    oklch(55.5% 0.185 318.1)

  8. Step 700

    700 (this color)

    #823198

    oklch(47.3% 0.172 318.3)

  9. Step 800

    800

    #6E2E80

    oklch(42.7% 0.143 318.2)

  10. Step 900

    900

    #592A67

    oklch(37.6% 0.112 317.9)

  11. Step 950

    950

    #341A3C

    oklch(27% 0.069 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#823198 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)#07509B0.169
Deuteranopia (no green cones)#3658960.145
Tritanopia (no blue cones)#8244600.109
Achromatopsia (no color)#5656560.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #823198

    #823198

    oklch(47.3% 0.172 318.3)

  • #286E00

    #286E00

    oklch(47.5% 0.148 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #823198

    #823198

    oklch(47.3% 0.172 318.3)

  • #5C42B4

    #5C42B4

    oklch(47.3% 0.172 288.5)

  • #9B216C

    #9B216C

    oklch(47.3% 0.172 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #823198

    #823198

    oklch(47.3% 0.172 318.3)

  • #615F00

    #615F00

    oklch(47.2% 0.102 108.3)

  • #006C52

    #006C52

    oklch(47.2% 0.095 168.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #823198

    #823198

    oklch(47.3% 0.172 318.3)

  • #7A5400

    #7A5400

    oklch(47.5% 0.099 78.4)

  • #00696C

    #00696C

    oklch(47.3% 0.08 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #823198

    #823198

    oklch(47.3% 0.172 318.3)

  • #934000

    #934000

    oklch(47.4% 0.128 48.4)

  • #286E00

    #286E00

    oklch(47.5% 0.148 138.4)

  • #006585

    #006585

    oklch(47.4% 0.093 228.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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