#6338BA

Closest named color: Bluey Purple (#6241C7). oklch(47% 0.192 292.6), rgb(99, 56, 186).

Aa

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

About this color

#6338BA is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.192 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.027 away. White text reads best on it, at 7.48:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.192)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text2.80:1
White text7.48:1

Values

HEX#6338BA
RGBrgb(99, 56, 186)
HSLhsl(260, 54%, 47%)
OKLCHoklch(47% 0.192 292.6)

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 #6338BA 7.48:1 AAA Lc -90.2 Preferred for body text
Black text on #6338BA 2.80:1 Fails Lc 18.7 Dividers and decoration only
#6338BA text on white 7.48:1 AAA Lc 85.3 Fine for body text
#6338BA text on black 2.80:1 Fails Lc -16.7 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 700.

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #D9D4F9

    oklch(88.6% 0.051 291.5)

  4. Step 300

    300

    #C2B6F8

    oklch(80.9% 0.093 292.5)

  5. Step 400

    400

    #A48DF4

    oklch(70.7% 0.148 292.5)

  6. Step 500

    500

    #906CF0

    oklch(63% 0.19 292.7)

  7. Step 600

    600

    #7C50DE

    oklch(55.6% 0.205 292.7)

  8. Step 700

    700 (this color)

    #6338BA

    oklch(47% 0.192 292.6)

  9. Step 800

    800

    #55359C

    oklch(42.7% 0.159 292.7)

  10. Step 900

    900

    #46307C

    oklch(37.8% 0.123 292.9)

  11. Step 950

    950

    #291D49

    oklch(27.1% 0.079 293)

Export this scale for Tailwind in the Tailwind colors tool

#6338BA 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)#0056BE0.110
Deuteranopia (no green cones)#0052B70.109
Tritanopia (no blue cones)#4959750.152
Achromatopsia (no color)#5555550.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #6338BA

    #6338BA

    oklch(47% 0.192 292.6)

  • #5C6000

    #5C6000

    oklch(47% 0.104 112.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6338BA

    #6338BA

    oklch(47% 0.192 292.6)

  • #184FC4

    #184FC4

    oklch(47.1% 0.192 262.6)

  • #8A2298

    #8A2298

    oklch(47% 0.193 322.6)

Open the analogous palette in the generator

Split complementary

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

  • #6338BA

    #6338BA

    oklch(47% 0.192 292.6)

  • #755500

    #755500

    oklch(47.1% 0.097 83.2)

  • #006F02

    #006F02

    oklch(46.9% 0.159 142.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6338BA

    #6338BA

    oklch(47% 0.192 292.6)

  • #8D4300

    #8D4300

    oklch(47% 0.12 52.4)

  • #006B55

    #006B55

    oklch(47% 0.091 172.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6338BA

    #6338BA

    oklch(47% 0.192 292.6)

  • #AC0022

    #AC0022

    oklch(47% 0.19 22.7)

  • #5C6000

    #5C6000

    oklch(47% 0.104 112.6)

  • #00686E

    #00686E

    oklch(47.1% 0.08 201.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6338BA 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.