#702FA7

Closest named color: Rebecca Purple (#663399). oklch(45.8% 0.183 304.9), rgb(112, 47, 167).

Aa

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

About this color

#702FA7 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.183 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.029 away. White text reads best on it, at 7.91:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.183)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.65:1
White text7.91:1

Values

HEX#702FA7
RGBrgb(112, 47, 167)
HSLhsl(273, 56%, 42%)
OKLCHoklch(45.8% 0.183 304.9)

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 #702FA7 7.91:1 AAA Lc -91.4 Preferred for body text
Black text on #702FA7 2.65:1 Fails Lc 17.3 Dividers and decoration only
#702FA7 text on white 7.91:1 AAA Lc 86.7 Fine for body text
#702FA7 text on black 2.65:1 Fails Lc -15.4 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 800.

  1. Step 50

    50

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E2D0F9

    oklch(88.5% 0.059 305.1)

  4. Step 300

    300

    #D0AFF9

    oklch(80.9% 0.108 304.5)

  5. Step 400

    400

    #BA81F5

    oklch(70.7% 0.171 305.1)

  6. Step 500

    500

    #A95BF1

    oklch(63.1% 0.219 304.8)

  7. Step 600

    600

    #9538DF

    oklch(55.6% 0.238 305)

  8. Step 700

    700

    #7F28C2

    oklch(49.1% 0.221 304.8)

  9. Step 800

    800 (this color)

    #702FA7

    oklch(45.8% 0.183 304.9)

  10. Step 900

    900

    #54257D

    oklch(37.8% 0.143 304.9)

  11. Step 950

    950

    #311749

    oklch(27% 0.091 305)

Export this scale for Tailwind in the Tailwind colors tool

#702FA7 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)#0050AA0.141
Deuteranopia (no green cones)#0051A40.143
Tritanopia (no blue cones)#664B680.131
Achromatopsia (no color)#5151510.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #702FA7

    #702FA7

    oklch(45.8% 0.183 304.9)

  • #496200

    #496200

    oklch(45.9% 0.115 125.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #702FA7

    #702FA7

    oklch(45.8% 0.183 304.9)

  • #3F44BB

    #3F44BB

    oklch(45.9% 0.183 274.7)

  • #8F1A7F

    #8F1A7F

    oklch(45.7% 0.184 334.7)

Open the analogous palette in the generator

Split complementary

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

  • #702FA7

    #702FA7

    oklch(45.8% 0.183 304.9)

  • #685600

    #685600

    oklch(45.8% 0.094 94.9)

  • #00693A

    #00693A

    oklch(45.7% 0.113 155)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #702FA7

    #702FA7

    oklch(45.8% 0.183 304.9)

  • #7E4900

    #7E4900

    oklch(45.8% 0.103 64.6)

  • #00665D

    #00665D

    oklch(45.9% 0.081 184.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #702FA7

    #702FA7

    oklch(45.8% 0.183 304.9)

  • #9D2500

    #9D2500

    oklch(45.8% 0.161 34.9)

  • #496200

    #496200

    oklch(45.9% 0.115 125.1)

  • #006273

    #006273

    oklch(45.7% 0.081 215)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #702FA7 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.