#6256DA

Closest named color: Slate Blue (#6A5ACD). oklch(54% 0.194 281.8), rgb(98, 86, 218).

Aa

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

About this color

#6256DA is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.194 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Slate Blue (#6A5ACD), ΔE 0.026 away. White text reads best on it, at 5.43:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.194)
Temperaturecool
Nearest nameSlate Blue (#6A5ACD)
Black text3.86:1
White text5.43:1

Values

HEX#6256DA
RGBrgb(98, 86, 218)
HSLhsl(245, 64%, 60%)
OKLCHoklch(54% 0.194 281.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 #6256DA 5.43:1 AA Lc -82.0 Fine for body text
Black text on #6256DA 3.86:1 AA large text Lc 27.4 Dividers and decoration only
#6256DA text on white 5.43:1 AA Lc 76.7 Fine for body text
#6256DA text on black 3.86:1 AA large text Lc -25.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 600.

  1. Step 50

    50

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D3D6F9

    oklch(88.5% 0.048 281.5)

  4. Step 300

    300

    #B7BAF8

    oklch(80.8% 0.087 282.1)

  5. Step 400

    400

    #9394F5

    oklch(70.7% 0.14 281.7)

  6. Step 500

    500

    #7B76F1

    oklch(63.1% 0.179 281.8)

  7. Step 600

    600 (this color)

    #6256DA

    oklch(54% 0.194 281.8)

  8. Step 700

    700

    #554AC2

    oklch(49.1% 0.181 281.6)

  9. Step 800

    800

    #463D9D

    oklch(42.7% 0.15 282.2)

  10. Step 900

    900

    #3A367D

    oklch(37.8% 0.117 281.8)

  11. Step 950

    950

    #222049

    oklch(27% 0.074 282.5)

Export this scale for Tailwind in the Tailwind colors tool

#6256DA 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)#006EDE0.086
Deuteranopia (no green cones)#0065D70.082
Tritanopia (no blue cones)#2876900.166
Achromatopsia (no color)#6A6A6A0.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #6256DA

    #6256DA

    oklch(54% 0.194 281.8)

  • #7C7000

    #7C7000

    oklch(53.9% 0.113 102)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6256DA

    #6256DA

    oklch(54% 0.194 281.8)

  • #006FC8

    #006FC8

    oklch(53.9% 0.162 252)

  • #9341BE

    #9341BE

    oklch(53.9% 0.194 311.8)

Open the analogous palette in the generator

Split complementary

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

  • #6256DA

    #6256DA

    oklch(54% 0.194 281.8)

  • #976100

    #976100

    oklch(53.9% 0.116 71.7)

  • #4C7F00

    #4C7F00

    oklch(53.9% 0.149 131.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6256DA

    #6256DA

    oklch(54% 0.194 281.8)

  • #B84300

    #B84300

    oklch(53.9% 0.163 41.7)

  • #008359

    #008359

    oklch(53.9% 0.118 162.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6256DA

    #6256DA

    oklch(54% 0.194 281.8)

  • #C52450

    #C52450

    oklch(54.1% 0.194 12)

  • #7C7000

    #7C7000

    oklch(53.9% 0.113 102)

  • #007F7C

    #007F7C

    oklch(53.9% 0.093 191.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6256DA 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.