#704FB1

Closest named color: Iris (#6258C4). oklch(51.1% 0.15 296.2), rgb(112, 79, 177).

Aa

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

About this color

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

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

Values

HEX#704FB1
RGBrgb(112, 79, 177)
HSLhsl(260, 39%, 50%)
OKLCHoklch(51.1% 0.15 296.2)

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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DBD4F1

    oklch(88.4% 0.04 296.6)

  4. Step 300

    300

    #C4B8EB

    oklch(81% 0.072 295.5)

  5. Step 400

    400

    #A791E1

    oklch(70.7% 0.117 295.9)

  6. Step 500

    500

    #9374D8

    oklch(63.2% 0.148 296.2)

  7. Step 600

    600

    #7E5AC5

    oklch(55.6% 0.161 296.3)

  8. Step 700

    700 (this color)

    #704FB1

    oklch(51.1% 0.15 296.2)

  9. Step 800

    800

    #573D8A

    oklch(42.8% 0.124 296.4)

  10. Step 900

    900

    #47346E

    oklch(37.6% 0.097 296.6)

  11. Step 950

    950

    #291F41

    oklch(26.9% 0.062 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#704FB1 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)#2363B40.101
Deuteranopia (no green cones)#2D61AF0.094
Tritanopia (no blue cones)#6163780.119
Achromatopsia (no color)#6262620.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #704FB1

    #704FB1

    oklch(51.1% 0.15 296.2)

  • #636E00

    #636E00

    oklch(51.1% 0.117 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #704FB1

    #704FB1

    oklch(51.1% 0.15 296.2)

  • #3E5FBB

    #3E5FBB

    oklch(51.1% 0.15 266.3)

  • #914193

    #914193

    oklch(51.1% 0.151 326.6)

Open the analogous palette in the generator

Split complementary

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

  • #704FB1

    #704FB1

    oklch(51.1% 0.15 296.2)

  • #816100

    #816100

    oklch(51.1% 0.105 86)

  • #0D7C2A

    #0D7C2A

    oklch(51.2% 0.15 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #704FB1

    #704FB1

    oklch(51.1% 0.15 296.2)

  • #9A5000

    #9A5000

    oklch(51.1% 0.124 56.7)

  • #007864

    #007864

    oklch(51.2% 0.096 175.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #704FB1

    #704FB1

    oklch(51.1% 0.15 296.2)

  • #AC3A35

    #AC3A35

    oklch(51.2% 0.15 26.3)

  • #636E00

    #636E00

    oklch(51.1% 0.117 116.4)

  • #00747F

    #00747F

    oklch(51.1% 0.087 206.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #704FB1.

Similar named colors

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

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