#942FAC

Closest named color: Purply (#983FB2). oklch(50.9% 0.2 319.1), rgb(148, 47, 172).

Aa

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

About this color

#942FAC is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.200 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.030 away. White text reads best on it, at 6.43:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.200)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.26:1
White text6.43:1

Values

HEX#942FAC
RGBrgb(148, 47, 172)
HSLhsl(288, 57%, 43%)
OKLCHoklch(50.9% 0.2 319.1)

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 #942FAC 6.43:1 AA Lc -86.1 Fine for body text
Black text on #942FAC 3.26:1 AA large text Lc 23.1 Dividers and decoration only
#942FAC text on white 6.43:1 AA Lc 81.0 Fine for body text
#942FAC text on black 3.26:1 AA large text Lc -20.9 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CEF0

    oklch(88.4% 0.054 319.3)

  4. Step 300

    300

    #DCADE8

    oklch(80.9% 0.096 319.3)

  5. Step 400

    400

    #C97EDD

    oklch(70.6% 0.155 319)

  6. Step 500

    500

    #BB59D3

    oklch(63.2% 0.197 319.3)

  7. Step 600

    600

    #A638C0

    oklch(55.6% 0.215 319.2)

  8. Step 700

    700 (this color)

    #942FAC

    oklch(50.9% 0.2 319.1)

  9. Step 800

    800

    #742486

    oklch(42.7% 0.165 319.6)

  10. Step 900

    900

    #5E246C

    oklch(37.8% 0.13 319.3)

  11. Step 950

    950

    #37163F

    oklch(27% 0.082 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#942FAC 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)#0058B00.196
Deuteranopia (no green cones)#3862A90.173
Tritanopia (no blue cones)#94486B0.124
Achromatopsia (no color)#5E5E5E0.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #942FAC

    #942FAC

    oklch(50.9% 0.2 319.1)

  • #287A00

    #287A00

    oklch(50.9% 0.161 139.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #942FAC

    #942FAC

    oklch(50.9% 0.2 319.1)

  • #6845CE

    #6845CE

    oklch(50.9% 0.2 289)

  • #B11777

    #B11777

    oklch(51% 0.2 349.4)

Open the analogous palette in the generator

Split complementary

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

  • #942FAC

    #942FAC

    oklch(50.9% 0.2 319.1)

  • #6B6A00

    #6B6A00

    oklch(50.8% 0.11 109.1)

  • #00785C

    #00785C

    oklch(50.9% 0.102 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #942FAC

    #942FAC

    oklch(50.9% 0.2 319.1)

  • #865D00

    #865D00

    oklch(50.9% 0.106 78.7)

  • #007579

    #007579

    oklch(51.1% 0.087 199)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #942FAC

    #942FAC

    oklch(50.9% 0.2 319.1)

  • #A14800

    #A14800

    oklch(50.9% 0.136 49.1)

  • #287A00

    #287A00

    oklch(50.9% 0.161 139.2)

  • #007094

    #007094

    oklch(51% 0.101 229.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #942FAC.

Similar named colors

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

Use #942FAC 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.