#942BED

Closest named color: Blue Violet (#8A2BE2). oklch(55.5% 0.262 302.6), rgb(148, 43, 237).

Aa

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

About this color

#942BED is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.262 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.025 away. White text reads best on it, at 5.48:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.262)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.82:1
White text5.48:1

Values

HEX#942BED
RGBrgb(148, 43, 237)
HSLhsl(272, 84%, 55%)
OKLCHoklch(55.5% 0.262 302.6)

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 #942BED 5.48:1 AA Lc -81.3 Fine for body text
Black text on #942BED 3.82:1 AA large text Lc 28.1 Dividers and decoration only
#942BED text on white 5.48:1 AA Lc 76.0 Fine for body text
#942BED text on black 3.82:1 AA large text Lc -25.8 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 600.

  1. Step 50

    50

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E1CFFE

    oklch(88.4% 0.067 302.5)

  4. Step 300

    300

    #CFAEFF

    oklch(80.8% 0.117 302.6)

  5. Step 400

    400

    #B87FFF

    oklch(70.8% 0.186 302.5)

  6. Step 500

    500

    #A854FE

    oklch(63.1% 0.241 302.6)

  7. Step 600

    600 (this color)

    #942BED

    oklch(55.5% 0.262 302.6)

  8. Step 700

    700

    #7F19CF

    oklch(49.2% 0.244 302.6)

  9. Step 800

    800

    #671BA7

    oklch(42.7% 0.202 302.7)

  10. Step 900

    900

    #532084

    oklch(37.6% 0.157 302.6)

  11. Step 950

    950

    #31154D

    oklch(27% 0.099 303.3)

Export this scale for Tailwind in the Tailwind colors tool

#942BED 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)#0067F20.181
Deuteranopia (no green cones)#0068E90.182
Tritanopia (no blue cones)#81638F0.189
Achromatopsia (no color)#6969690.264

Harmonies

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

Complementary

The opposite hue (180°).

  • #942BED

    #942BED

    oklch(55.5% 0.262 302.6)

  • #657F00

    #657F00

    oklch(55.6% 0.136 122.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #942BED

    #942BED

    oklch(55.5% 0.262 302.6)

  • #4B55FF

    #4B55FF

    oklch(55.4% 0.247 272.5)

  • #BF00B0

    #BF00B0

    oklch(55.6% 0.25 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #942BED

    #942BED

    oklch(55.5% 0.262 302.6)

  • #8A7000

    #8A7000

    oklch(55.4% 0.113 92.7)

  • #008A47

    #008A47

    oklch(55.5% 0.144 152.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #942BED

    #942BED

    oklch(55.5% 0.262 302.6)

  • #A65F00

    #A65F00

    oklch(55.5% 0.127 62.5)

  • #008578

    #008578

    oklch(55.4% 0.099 183)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #942BED

    #942BED

    oklch(55.5% 0.262 302.6)

  • #D02700

    #D02700

    oklch(55.4% 0.207 32.5)

  • #657F00

    #657F00

    oklch(55.6% 0.136 122.8)

  • #008194

    #008194

    oklch(55.4% 0.097 212.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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