#6235A4

Closest named color: Rebecca Purple (#663399). oklch(44.7% 0.17 297.7), rgb(98, 53, 164).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.170)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.56:1
White text8.18:1

Values

HEX#6235A4
RGBrgb(98, 53, 164)
HSLhsl(264, 51%, 43%)
OKLCHoklch(44.7% 0.17 297.7)

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 #6235A4 8.18:1 AAA Lc -92.4 Preferred for body text
Black text on #6235A4 2.56:1 Fails Lc 16.3 Dividers and decoration only
#6235A4 text on white 8.18:1 AAA Lc 87.7 Fine for body text
#6235A4 text on black 2.56:1 Fails Lc -14.4 Not readable

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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DDD2FA

    oklch(88.5% 0.056 297.8)

  4. Step 300

    300

    #C8B3F9

    oklch(80.9% 0.1 297.9)

  5. Step 400

    400

    #AD88F6

    oklch(70.7% 0.159 297.7)

  6. Step 500

    500

    #9A65F2

    oklch(63% 0.203 297.6)

  7. Step 600

    600

    #8647E0

    oklch(55.6% 0.22 297.6)

  8. Step 700

    700

    #7236C3

    oklch(49.1% 0.205 297.7)

  9. Step 800

    800 (this color)

    #6235A4

    oklch(44.7% 0.17 297.7)

  10. Step 900

    900

    #4B2C7D

    oklch(37.7% 0.131 297.3)

  11. Step 950

    950

    #2C1B49

    oklch(27.1% 0.083 297.7)

Export this scale for Tailwind in the Tailwind colors tool

#6235A4 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)#004FA70.114
Deuteranopia (no green cones)#004EA20.115
Tritanopia (no blue cones)#524F680.130
Achromatopsia (no color)#4F4F4F0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #6235A4

    #6235A4

    oklch(44.7% 0.17 297.7)

  • #505B00

    #505B00

    oklch(44.6% 0.103 117.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6235A4

    #6235A4

    oklch(44.7% 0.17 297.7)

  • #2D48B1

    #2D48B1

    oklch(44.8% 0.17 267.8)

  • #822483

    #822483

    oklch(44.7% 0.169 327.5)

Open the analogous palette in the generator

Split complementary

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

  • #6235A4

    #6235A4

    oklch(44.7% 0.17 297.7)

  • #6A5000

    #6A5000

    oklch(44.6% 0.091 86.9)

  • #006725

    #006725

    oklch(44.8% 0.13 147.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6235A4

    #6235A4

    oklch(44.7% 0.17 297.7)

  • #7F4200

    #7F4200

    oklch(44.6% 0.107 57.7)

  • #006354

    #006354

    oklch(44.7% 0.083 177.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6235A4

    #6235A4

    oklch(44.7% 0.17 297.7)

  • #9D1514

    #9D1514

    oklch(44.7% 0.17 27.9)

  • #505B00

    #505B00

    oklch(44.6% 0.103 117.6)

  • #00606A

    #00606A

    oklch(44.7% 0.077 207.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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