#6A5DF6#6A5DF6

#6A5DF6 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.9% C 0.220 H 280.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6A5DF6
RGBrgb(106, 93, 246)
HSLhsl(245, 89%, 66%)
HSVhsv(245, 62%, 96%)
CMYKcmyk(56.9%, 62.2%, 0%, 3.5%)
CIE-LABlab(48.94, 46.68, -75.15)
CIE-LCHlch(48.94, 88.47, 301.85°)
OKLaboklab(57.93% 0.0414 -0.216)
OKLCHoklch(57.93% 0.22 280.9)
XYZxyz(26.4876, 17.5449, 89.1617)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DF6 #E9F65D
analogous
#5D9DF6 #6A5DF6 #B75DF6
triadic
#6A5DF6 #F66A5D #5DF66A
tetradic
#6A5DF6 #F65D9D #E9F65D #5DF6B7
square
#6A5DF6 #F65D9D #E9F65D #5DF6B7
split-complementary
#6A5DF6 #F6B75D #9DF65D
monochromatic
#1C0BCD #3523F3 #6A5DF6 #9F97F9 #D5D1FC

Accessibility & contrast

On white

4.66
#6A5DF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6A5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DF6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DF6#FFFFFF#000000##FFFFFF
##6A5DF61.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#1683A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a5df6;
/* rgb */ color: rgb(106, 93, 246);
/* oklch */ color: oklch(57.9% 0.220 280.9);
Tailwind
colors: {
  custom: {
    50: '#a18cfa',
    500: '#6a5df6',
    950: '#000000',
  },
}
SCSS
$custom: #6a5df6;
$custom-light: #a18cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5df6",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 245.098,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.21998,
    "h": 280.9
  },
  "luminance": 0.17547
}

Semantic roles & 50–950 ramp

primary
#6A5DF6
secondary
#ECF0BF
accent
#E600D2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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