#7F78FC

Closest named color: Cornflower (#6A79F7). oklch(64.4% 0.19 282), rgb(127, 120, 252).

Aa

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

About this color

#7F78FC is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.190 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.029 away. Black text reads best on it, at 5.99:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.190)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.99:1
White text3.50:1

Values

HEX#7F78FC
RGBrgb(127, 120, 252)
HSLhsl(243, 96%, 73%)
OKLCHoklch(64.4% 0.19 282)

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 #7F78FC 3.50:1 AA large text Lc -67.8 Content text, not long reading
Black text on #7F78FC 5.99:1 AA Lc 41.8 Non-text elements, placeholder text
#7F78FC text on white 3.50:1 AA large text Lc 62.3 Content text, not long reading
#7F78FC text on black 5.99:1 AA Lc -39.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 500.

  1. Step 50

    50

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D3D6FB

    oklch(88.6% 0.051 281.6)

  4. Step 300

    300

    #B7BAFC

    oklch(81% 0.093 282.1)

  5. Step 400

    400

    #9393FA

    oklch(70.7% 0.148 281.9)

  6. Step 500

    500 (this color)

    #7F78FC

    oklch(64.4% 0.19 282)

  7. Step 600

    600

    #6758E6

    oklch(55.6% 0.206 282.1)

  8. Step 700

    700

    #5647C8

    oklch(49.2% 0.192 282)

  9. Step 800

    800

    #463BA2

    oklch(42.7% 0.16 282.1)

  10. Step 900

    900

    #3A3480

    oklch(37.7% 0.124 282.2)

  11. Step 950

    950

    #221F4B

    oklch(27% 0.079 282.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F78FC 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)#318EFF0.086
Deuteranopia (no green cones)#2484F90.088
Tritanopia (no blue cones)#4F95AF0.162
Achromatopsia (no color)#8989890.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F78FC

    #7F78FC

    oklch(64.4% 0.19 282)

  • #9E8F00

    #9E8F00

    oklch(64.3% 0.135 102)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F78FC

    #7F78FC

    oklch(64.4% 0.19 282)

  • #098EFC

    #098EFC

    oklch(64.4% 0.191 252.2)

  • #B464DF

    #B464DF

    oklch(64.5% 0.19 312.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F78FC

    #7F78FC

    oklch(64.4% 0.19 282)

  • #C07D00

    #C07D00

    oklch(64.4% 0.138 72)

  • #62A200

    #62A200

    oklch(64.4% 0.179 132)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F78FC

    #7F78FC

    oklch(64.4% 0.19 282)

  • #E85A0C

    #E85A0C

    oklch(64.5% 0.191 42)

  • #00A772

    #00A772

    oklch(64.4% 0.141 161.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F78FC

    #7F78FC

    oklch(64.4% 0.19 282)

  • #E94E6E

    #E94E6E

    oklch(64.5% 0.191 12.1)

  • #9E8F00

    #9E8F00

    oklch(64.3% 0.135 102)

  • #00A29F

    #00A29F

    oklch(64.4% 0.11 192.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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