#DB7EFE

Closest named color: Violet (#EE82EE). oklch(74.2% 0.198 316.1), rgb(219, 126, 254).

Aa

Black text reads best on this color (8.42:1).

About this color

#DB7EFE is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.198 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.044 away. Black text reads best on it, at 8.42:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.198)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.42:1
White text2.49:1

Values

HEX#DB7EFE
RGBrgb(219, 126, 254)
HSLhsl(284, 98%, 75%)
OKLCHoklch(74.2% 0.198 316.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 #DB7EFE 2.49:1 Fails Lc -53.6 Large or bold text, headings
Black text on #DB7EFE 8.42:1 AAA Lc 55.4 Large or bold text, headings
#DB7EFE text on white 2.49:1 Fails Lc 48.6 Large or bold text, headings
#DB7EFE text on black 8.42:1 AAA Lc -53.4 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #EBCCF8

    oklch(88.5% 0.068 315.9)

  4. Step 300

    300

    #E0A7F6

    oklch(80.8% 0.124 316.3)

  5. Step 400

    400 (this color)

    #DB7EFE

    oklch(74.2% 0.198 316.1)

  6. Step 500

    500

    #C242ED

    oklch(63.1% 0.253 316.1)

  7. Step 600

    600

    #AD00DA

    oklch(55.6% 0.272 316.1)

  8. Step 700

    700

    #9200B9

    oklch(49.1% 0.241 315.9)

  9. Step 800

    800

    #780099

    oklch(42.6% 0.209 315.8)

  10. Step 900

    900

    #62147A

    oklch(37.7% 0.165 316.4)

  11. Step 950

    950

    #390F48

    oklch(27% 0.105 315.6)

Export this scale for Tailwind in the Tailwind colors tool

#DB7EFE 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)#639EFF0.175
Deuteranopia (no green cones)#7FA7FB0.156
Tritanopia (no blue cones)#D991B30.129
Achromatopsia (no color)#A4A4A40.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB7EFE

    #DB7EFE

    oklch(74.2% 0.198 316.1)

  • #6CC633

    #6CC633

    oklch(74.2% 0.198 136.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB7EFE

    #DB7EFE

    oklch(74.2% 0.198 316.1)

  • #A59DFF

    #A59DFF

    oklch(74.2% 0.139 286.2)

  • #FF6FC5

    #FF6FC5

    oklch(74.2% 0.197 346.1)

Open the analogous palette in the generator

Split complementary

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

  • #DB7EFE

    #DB7EFE

    oklch(74.2% 0.198 316.1)

  • #B9B000

    #B9B000

    oklch(74.1% 0.158 106)

  • #00C995

    #00C995

    oklch(74.1% 0.153 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB7EFE

    #DB7EFE

    oklch(74.2% 0.198 316.1)

  • #E39B00

    #E39B00

    oklch(74.2% 0.156 75.7)

  • #00C4C6

    #00C4C6

    oklch(74.3% 0.127 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB7EFE

    #DB7EFE

    oklch(74.2% 0.198 316.1)

  • #FF8545

    #FF8545

    oklch(74.3% 0.167 46.2)

  • #6CC633

    #6CC633

    oklch(74.2% 0.198 136.1)

  • #00BDEF

    #00BDEF

    oklch(74.3% 0.141 225.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #DB7EFE 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.