#6835A4

Closest named color: Rebecca Purple (#663399). oklch(45.4% 0.171 300.8), rgb(104, 53, 164).

Aa

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

About this color

#6835A4 is a medium-dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.171 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.018 away. White text reads best on it, at 7.97:1.

Hue familyPurples
Lightnessmedium-dark (45%)
Chromavivid (0.171)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.63:1
White text7.97:1

Values

HEX#6835A4
RGBrgb(104, 53, 164)
HSLhsl(268, 51%, 43%)
OKLCHoklch(45.4% 0.171 300.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 #6835A4 7.97:1 AAA Lc -91.8 Preferred for body text
Black text on #6835A4 2.63:1 Fails Lc 17.0 Dividers and decoration only
#6835A4 text on white 7.97:1 AAA Lc 87.0 Fine for body text
#6835A4 text on black 2.63:1 Fails Lc -15.1 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 800.

  1. Step 50

    50

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1F9

    oklch(88.5% 0.056 301.2)

  4. Step 300

    300

    #CBB2F7

    oklch(80.9% 0.099 300.8)

  5. Step 400

    400

    #B286F3

    oklch(70.7% 0.159 301)

  6. Step 500

    500

    #A063EF

    oklch(63.2% 0.204 300.8)

  7. Step 600

    600

    #8C43DD

    oklch(55.5% 0.222 301)

  8. Step 700

    700

    #7733C0

    oklch(49.1% 0.206 300.9)

  9. Step 800

    800 (this color)

    #6835A4

    oklch(45.4% 0.171 300.8)

  10. Step 900

    900

    #4F2A7C

    oklch(37.8% 0.134 300.9)

  11. Step 950

    950

    #2E1A48

    oklch(27% 0.083 301.1)

Export this scale for Tailwind in the Tailwind colors tool

#6835A4 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)#0050A70.124
Deuteranopia (no green cones)#0050A20.125
Tritanopia (no blue cones)#5B4E680.127
Achromatopsia (no color)#5151510.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #6835A4

    #6835A4

    oklch(45.4% 0.171 300.8)

  • #4E5F00

    #4E5F00

    oklch(45.5% 0.109 121)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6835A4

    #6835A4

    oklch(45.4% 0.171 300.8)

  • #3648B3

    #3648B3

    oklch(45.4% 0.17 270.7)

  • #872481

    #872481

    oklch(45.3% 0.17 330.6)

Open the analogous palette in the generator

Split complementary

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

  • #6835A4

    #6835A4

    oklch(45.4% 0.171 300.8)

  • #6A5300

    #6A5300

    oklch(45.3% 0.093 90.1)

  • #006830

    #006830

    oklch(45.3% 0.122 151.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6835A4

    #6835A4

    oklch(45.4% 0.171 300.8)

  • #7F4600

    #7F4600

    oklch(45.4% 0.105 61.2)

  • #006559

    #006559

    oklch(45.4% 0.082 181)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6835A4

    #6835A4

    oklch(45.4% 0.171 300.8)

  • #A01908

    #A01908

    oklch(45.4% 0.171 30.8)

  • #4E5F00

    #4E5F00

    oklch(45.5% 0.109 121)

  • #00626F

    #00626F

    oklch(45.5% 0.079 210.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6835A4 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.