#7170CC

Closest named color: Dark Periwinkle (#665FD1). oklch(58.9% 0.138 281.8), rgb(113, 112, 204).

Aa

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

About this color

#7170CC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.138 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.049 away. Black text reads best on it, at 4.89:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.138)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.89:1
White text4.29:1

Values

HEX#7170CC
RGBrgb(113, 112, 204)
HSLhsl(241, 47%, 62%)
OKLCHoklch(58.9% 0.138 281.8)

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 #7170CC 4.29:1 AA large text Lc -75.0 Fine for body text
Black text on #7170CC 4.89:1 AA Lc 34.5 Non-text elements, placeholder text
#7170CC text on white 4.29:1 AA large text Lc 69.5 Content text, not long reading
#7170CC text on black 4.89:1 AA Lc -32.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 600.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D5D7F0

    oklch(88.5% 0.034 282)

  4. Step 300

    300

    #B9BCE9

    oklch(80.8% 0.063 281.9)

  5. Step 400

    400

    #9699DD

    oklch(70.7% 0.099 281.6)

  6. Step 500

    500

    #7E7ED4

    oklch(63.1% 0.128 282.1)

  7. Step 600

    600 (this color)

    #7170CC

    oklch(58.9% 0.138 281.8)

  8. Step 700

    700

    #5754A7

    oklch(49.1% 0.129 282.2)

  9. Step 800

    800

    #474587

    oklch(42.6% 0.107 282.2)

  10. Step 900

    900

    #3B3B6C

    oklch(37.7% 0.083 281.7)

  11. Step 950

    950

    #22233F

    oklch(27% 0.052 280.8)

Export this scale for Tailwind in the Tailwind colors tool

#7170CC 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)#4C7DCF0.052
Deuteranopia (no green cones)#4777CA0.052
Tritanopia (no blue cones)#5383940.120
Achromatopsia (no color)#7A7A7A0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #7170CC

    #7170CC

    oklch(58.9% 0.138 281.8)

  • #8C7E00

    #8C7E00

    oklch(58.8% 0.123 101.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7170CC

    #7170CC

    oklch(58.9% 0.138 281.8)

  • #3580CC

    #3580CC

    oklch(59% 0.138 251.6)

  • #9862B8

    #9862B8

    oklch(58.9% 0.138 311.8)

Open the analogous palette in the generator

Split complementary

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

  • #7170CC

    #7170CC

    oklch(58.9% 0.138 281.8)

  • #AA6E00

    #AA6E00

    oklch(58.8% 0.126 71.9)

  • #5D8D2B

    #5D8D2B

    oklch(58.8% 0.138 131.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7170CC

    #7170CC

    oklch(58.9% 0.138 281.8)

  • #BF5C34

    #BF5C34

    oklch(58.9% 0.138 41.6)

  • #009464

    #009464

    oklch(58.9% 0.13 161.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7170CC

    #7170CC

    oklch(58.9% 0.138 281.8)

  • #C05567

    #C05567

    oklch(58.9% 0.138 11.9)

  • #8C7E00

    #8C7E00

    oklch(58.8% 0.123 101.6)

  • #00908C

    #00908C

    oklch(59% 0.101 191.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7170CC 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.