#798DF6

Closest named color: Lavender Blue (#8B88F8). oklch(67.6% 0.156 273.4), rgb(121, 141, 246).

Aa

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

About this color

#798DF6 is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.156 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.026 away. Black text reads best on it, at 6.95:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.156)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text6.95:1
White text3.01:1

Values

HEX#798DF6
RGBrgb(121, 141, 246)
HSLhsl(230, 87%, 72%)
OKLCHoklch(67.6% 0.156 273.4)

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 #798DF6 3.01:1 AA large text Lc -62.1 Content text, not long reading
Black text on #798DF6 6.95:1 AA Lc 47.3 Large or bold text, headings
#798DF6 text on white 3.01:1 AA large text Lc 56.8 Large or bold text, headings
#798DF6 text on black 6.95:1 AA Lc -45.0 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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CDD7FE

    oklch(88.4% 0.055 273.9)

  4. Step 300

    300

    #ACBDFF

    oklch(80.9% 0.095 273)

  5. Step 400

    400 (this color)

    #798DF6

    oklch(67.6% 0.156 273.4)

  6. Step 500

    500

    #6679FF

    oklch(63.1% 0.198 273.3)

  7. Step 600

    600

    #515DEF

    oklch(55.7% 0.216 273.4)

  8. Step 700

    700

    #424BD0

    oklch(49.1% 0.202 273.3)

  9. Step 800

    800

    #363FA8

    oklch(42.8% 0.166 273.3)

  10. Step 900

    900

    #2E3785

    oklch(37.7% 0.13 273.5)

  11. Step 950

    950

    #1A214E

    oklch(27% 0.083 273)

Export this scale for Tailwind in the Tailwind colors tool

#798DF6 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)#619AFA0.039
Deuteranopia (no green cones)#548FF40.040
Tritanopia (no blue cones)#42A4B60.139
Achromatopsia (no color)#9494940.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #798DF6

    #798DF6

    oklch(67.6% 0.156 273.4)

  • #B49400

    #B49400

    oklch(67.6% 0.139 93.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798DF6

    #798DF6

    oklch(67.6% 0.156 273.4)

  • #1F9FEF

    #1F9FEF

    oklch(67.6% 0.156 243.5)

  • #AB7CE5

    #AB7CE5

    oklch(67.6% 0.156 303.1)

Open the analogous palette in the generator

Split complementary

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

  • #798DF6

    #798DF6

    oklch(67.6% 0.156 273.4)

  • #D77E00

    #D77E00

    oklch(67.5% 0.154 63.3)

  • #84A620

    #84A620

    oklch(67.6% 0.157 123.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798DF6

    #798DF6

    oklch(67.6% 0.156 273.4)

  • #E66D54

    #E66D54

    oklch(67.4% 0.156 33.2)

  • #2EB267

    #2EB267

    oklch(67.6% 0.157 153.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798DF6

    #798DF6

    oklch(67.6% 0.156 273.4)

  • #E3688D

    #E3688D

    oklch(67.6% 0.157 3.3)

  • #B49400

    #B49400

    oklch(67.6% 0.139 93.4)

  • #00AE9E

    #00AE9E

    oklch(67.4% 0.12 183.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #798DF6.

Similar named colors

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

Use #798DF6 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.