#704CBA

Closest named color: Iris (#6258C4). oklch(51.2% 0.166 295), rgb(112, 76, 186).

Aa

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

About this color

#704CBA is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.166 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.036 away. White text reads best on it, at 6.11:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.166)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.43:1
White text6.11:1

Values

HEX#704CBA
RGBrgb(112, 76, 186)
HSLhsl(260, 44%, 51%)
OKLCHoklch(51.2% 0.166 295)

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 #704CBA 6.11:1 AA Lc -85.4 Fine for body text
Black text on #704CBA 3.43:1 AA large text Lc 23.9 Dividers and decoration only
#704CBA text on white 6.11:1 AA Lc 80.2 Fine for body text
#704CBA text on black 3.43:1 AA large text Lc -21.7 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EAE7F8

    oklch(93.5% 0.023 294.1)

  3. Step 200

    200

    #DBD4F4

    oklch(88.5% 0.044 295.5)

  4. Step 300

    300

    #C4B7F0

    oklch(81% 0.081 295)

  5. Step 400

    400

    #A78FE8

    oklch(70.7% 0.129 295.3)

  6. Step 500

    500

    #9271E1

    oklch(63.1% 0.164 294.8)

  7. Step 600

    600

    #7D56CF

    oklch(55.6% 0.179 294.7)

  8. Step 700

    700 (this color)

    #704CBA

    oklch(51.2% 0.166 295)

  9. Step 800

    800

    #563A91

    oklch(42.7% 0.138 294.7)

  10. Step 900

    900

    #473374

    oklch(37.8% 0.108 294.9)

  11. Step 950

    950

    #291E44

    oklch(26.9% 0.069 294.7)

Export this scale for Tailwind in the Tailwind colors tool

#704CBA 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)#0163BE0.114
Deuteranopia (no green cones)#1960B80.107
Tritanopia (no blue cones)#5D647C0.131
Achromatopsia (no color)#6262620.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #704CBA

    #704CBA

    oklch(51.2% 0.166 295)

  • #656E00

    #656E00

    oklch(51.3% 0.116 115.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #704CBA

    #704CBA

    oklch(51.2% 0.166 295)

  • #365EC5

    #365EC5

    oklch(51.2% 0.167 265)

  • #943C9A

    #943C9A

    oklch(51.3% 0.167 325.1)

Open the analogous palette in the generator

Split complementary

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

  • #704CBA

    #704CBA

    oklch(51.2% 0.166 295)

  • #826100

    #826100

    oklch(51.2% 0.105 85.3)

  • #007D1F

    #007D1F

    oklch(51.3% 0.161 145)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #704CBA

    #704CBA

    oklch(51.2% 0.166 295)

  • #9C4F00

    #9C4F00

    oklch(51.2% 0.127 55.2)

  • #007863

    #007863

    oklch(51.1% 0.097 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #704CBA

    #704CBA

    oklch(51.2% 0.166 295)

  • #B23132

    #B23132

    oklch(51.2% 0.166 24.9)

  • #656E00

    #656E00

    oklch(51.3% 0.116 115.3)

  • #00757E

    #00757E

    oklch(51.3% 0.087 204.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #704CBA 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.