#7B62DB

Closest named color: Medium Slate Blue (#7B68EE). oklch(58.1% 0.178 289.2), rgb(123, 98, 219).

Aa

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

About this color

#7B62DB is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.178 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.031 away. Black text reads best on it, at 4.61:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.178)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.61:1
White text4.55:1

Values

HEX#7B62DB
RGBrgb(123, 98, 219)
HSLhsl(252, 63%, 62%)
OKLCHoklch(58.1% 0.178 289.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 #7B62DB 4.55:1 AA Lc -76.8 Fine for body text
Black text on #7B62DB 4.61:1 AA Lc 32.8 Non-text elements, placeholder text
#7B62DB text on white 4.55:1 AA Lc 71.3 Content text, not long reading
#7B62DB text on black 4.61:1 AA Lc -30.4 Non-text elements, placeholder text

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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D8D5F5

    oklch(88.5% 0.044 289.8)

  4. Step 300

    300

    #BEB9F2

    oklch(80.9% 0.08 288.5)

  5. Step 400

    400

    #9F92EB

    oklch(70.7% 0.128 289.4)

  6. Step 500

    500

    #8974E4

    oklch(63% 0.163 289.5)

  7. Step 600

    600 (this color)

    #7B62DB

    oklch(58.1% 0.178 289.2)

  8. Step 700

    700

    #6249B6

    oklch(49.1% 0.165 289.5)

  9. Step 800

    800

    #4F3D93

    oklch(42.7% 0.136 289)

  10. Step 900

    900

    #413576

    oklch(37.7% 0.107 288.7)

  11. Step 950

    950

    #262045

    oklch(27.1% 0.067 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#7B62DB 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)#1F78DF0.102
Deuteranopia (no green cones)#2273D80.100
Tritanopia (no blue cones)#5E7C950.146
Achromatopsia (no color)#7676760.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B62DB

    #7B62DB

    oklch(58.1% 0.178 289.2)

  • #818000

    #818000

    oklch(58.2% 0.126 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B62DB

    #7B62DB

    oklch(58.1% 0.178 289.2)

  • #3176E1

    #3176E1

    oklch(58% 0.177 259.2)

  • #A650BC

    #A650BC

    oklch(58.1% 0.178 319)

Open the analogous palette in the generator

Split complementary

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

  • #7B62DB

    #7B62DB

    oklch(58.1% 0.178 289.2)

  • #A07100

    #A07100

    oklch(58.2% 0.121 79.7)

  • #369210

    #369210

    oklch(58.2% 0.178 139.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B62DB

    #7B62DB

    oklch(58.1% 0.178 289.2)

  • #C15800

    #C15800

    oklch(58.2% 0.156 49.2)

  • #00906F

    #00906F

    oklch(58.1% 0.116 169.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B62DB

    #7B62DB

    oklch(58.1% 0.178 289.2)

  • #CF414F

    #CF414F

    oklch(58.2% 0.178 19.1)

  • #818000

    #818000

    oklch(58.2% 0.126 109.2)

  • #008C91

    #008C91

    oklch(58.1% 0.099 199.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7B62DB.

Similar named colors

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

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