#7845CE

Closest named color: Bluey Purple (#6241C7). oklch(52.5% 0.2 295.8), rgb(120, 69, 206).

Aa

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

About this color

#7845CE is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.200 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.042 away. White text reads best on it, at 5.93:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.200)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.54:1
White text5.93:1

Values

HEX#7845CE
RGBrgb(120, 69, 206)
HSLhsl(262, 58%, 54%)
OKLCHoklch(52.5% 0.2 295.8)

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 #7845CE 5.93:1 AA Lc -84.3 Fine for body text
Black text on #7845CE 3.54:1 AA large text Lc 25.0 Dividers and decoration only
#7845CE text on white 5.93:1 AA Lc 79.1 Fine for body text
#7845CE text on black 3.54:1 AA large text Lc -22.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DBD3F7

    oklch(88.5% 0.05 295.5)

  4. Step 300

    300

    #C5B5F5

    oklch(80.9% 0.091 295.8)

  5. Step 400

    400

    #A98CF0

    oklch(70.7% 0.145 295.8)

  6. Step 500

    500

    #956CEA

    oklch(63.1% 0.183 295.7)

  7. Step 600

    600 (this color)

    #7845CE

    oklch(52.5% 0.2 295.8)

  8. Step 700

    700

    #6D3FBC

    oklch(49.1% 0.186 295.6)

  9. Step 800

    800

    #593598

    oklch(42.8% 0.154 295.9)

  10. Step 900

    900

    #492F79

    oklch(37.7% 0.121 296.3)

  11. Step 950

    950

    #2A1D47

    oklch(27.1% 0.076 295.1)

Export this scale for Tailwind in the Tailwind colors tool

#7845CE 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)#0065D20.129
Deuteranopia (no green cones)#0062CB0.129
Tritanopia (no blue cones)#6266840.156
Achromatopsia (no color)#6464640.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #7845CE

    #7845CE

    oklch(52.5% 0.2 295.8)

  • #687200

    #687200

    oklch(52.5% 0.12 115.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7845CE

    #7845CE

    oklch(52.5% 0.2 295.8)

  • #325CDC

    #325CDC

    oklch(52.4% 0.201 265.8)

  • #A130A7

    #A130A7

    oklch(52.6% 0.2 325.8)

Open the analogous palette in the generator

Split complementary

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

  • #7845CE

    #7845CE

    oklch(52.5% 0.2 295.8)

  • #866500

    #866500

    oklch(52.6% 0.108 86.1)

  • #008126

    #008126

    oklch(52.5% 0.161 145.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7845CE

    #7845CE

    oklch(52.5% 0.2 295.8)

  • #A15200

    #A15200

    oklch(52.5% 0.129 55.4)

  • #007C68

    #007C68

    oklch(52.4% 0.098 176.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7845CE

    #7845CE

    oklch(52.5% 0.2 295.8)

  • #C41A23

    #C41A23

    oklch(52.6% 0.201 25.9)

  • #687200

    #687200

    oklch(52.5% 0.12 115.7)

  • #007984

    #007984

    oklch(52.6% 0.09 205.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7845CE 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.