#6A5DED#6A5DED

#6A5DED is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.209 H 281.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6A5DED
RGBrgb(106, 93, 237)
HSLhsl(245, 80%, 65%)
HSVhsv(245, 61%, 93%)
CMYKcmyk(55.3%, 60.8%, 0%, 7.1%)
CIE-LABlab(48.27, 43.94, -71.20)
CIE-LCHlch(48.27, 83.67, 301.68°)
OKLaboklab(57.23% 0.042 -0.2044)
OKLCHoklch(57.23% 0.209 281.6)
XYZxyz(25.1395, 17.0057, 82.0621)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DED #E0ED5D
analogous
#5D98ED #6A5DED #B25DED
triadic
#6A5DED #ED6A5D #5DED6A
tetradic
#6A5DED #ED5D98 #E0ED5D #5DEDB2
square
#6A5DED #ED5D98 #E0ED5D #5DEDB2
split-complementary
#6A5DED #EDB25D #98ED5D
monochromatic
#2415BB #3726E7 #6A5DED #9D94F3 #CFCBF9

Accessibility & contrast

On white

4.77
#6A5DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6A5DED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DED
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DED#FFFFFF#000000##FFFFFF
##6A5DED1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#28809C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5ded;
/* rgb */ color: rgb(106, 93, 237);
/* oklch */ color: oklch(57.2% 0.209 281.6);
Tailwind
colors: {
  custom: {
    50: '#a08bf4',
    500: '#6a5ded',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ded;
$custom-light: #a08bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ded",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 245.417,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57226,
    "c": 0.20872,
    "h": 281.6
  },
  "luminance": 0.17007
}

Semantic roles & 50–950 ramp

primary
#6A5DED
secondary
#E7ECBA
accent
#DC09C9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5DED

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6A5DED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva