#6A5DF1#6A5DF1

#6A5DF1 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.5% C 0.214 H 281.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6A5DF1
RGBrgb(106, 93, 241)
HSLhsl(245, 84%, 65%)
HSVhsv(245, 61%, 95%)
CMYKcmyk(56%, 61.4%, 0%, 5.5%)
CIE-LABlab(48.56, 45.16, -72.96)
CIE-LCHlch(48.56, 85.81, 301.75°)
OKLaboklab(57.54% 0.0418 -0.2096)
OKLCHoklch(57.54% 0.214 281.3)
XYZxyz(25.7304, 17.2421, 85.1742)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DF1 #E4F15D
analogous
#5D9AF1 #6A5DF1 #B45DF1
triadic
#6A5DF1 #F16A5D #5DF16A
tetradic
#6A5DF1 #F15D9A #E4F15D #5DF1B4
square
#6A5DF1 #F15D9A #E4F15D #5DF1B4
split-complementary
#6A5DF1 #F1B45D #9AF15D
monochromatic
#2011C3 #3625EC #6A5DF1 #9E95F6 #D2CEFB

Accessibility & contrast

On white

4.72
#6A5DF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#6A5DF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DF1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DF1#FFFFFF#000000##FFFFFF
##6A5DF11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#006EEE
Tritanopia (blue-blind)
#21819E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5df1;
/* rgb */ color: rgb(106, 93, 241);
/* oklch */ color: oklch(57.5% 0.214 281.3);
Tailwind
colors: {
  custom: {
    50: '#a08cf7',
    500: '#6a5df1',
    950: '#000000',
  },
}
SCSS
$custom: #6a5df1;
$custom-light: #a08cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5df1",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 245.27,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57536,
    "c": 0.21375,
    "h": 281.3
  },
  "luminance": 0.17244
}

Semantic roles & 50–950 ramp

primary
#6A5DF1
secondary
#E9EEBC
accent
#E105CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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