#6A5DF4#6A5DF4

#6A5DF4 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.8% C 0.217 H 281.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6A5DF4
RGBrgb(106, 93, 244)
HSLhsl(245, 87%, 66%)
HSVhsv(245, 62%, 96%)
CMYKcmyk(56.6%, 61.9%, 0%, 4.3%)
CIE-LABlab(48.79, 46.07, -74.28)
CIE-LCHlch(48.79, 87.40, 301.81°)
OKLaboklab(57.77% 0.0416 -0.2135)
OKLCHoklch(57.77% 0.218 281)
XYZxyz(26.1822, 17.4228, 87.5537)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DF4 #E7F45D
analogous
#5D9BF4 #6A5DF4 #B65DF4
triadic
#6A5DF4 #F46A5D #5DF46A
tetradic
#6A5DF4 #F45D9B #E7F45D #5DF4B6
square
#6A5DF4 #F45D9B #E7F45D #5DF4B6
split-complementary
#6A5DF4 #F4B65D #9BF45D
monochromatic
#1E0EC9 #3524F0 #6A5DF4 #9F96F8 #D3D0FC

Accessibility & contrast

On white

4.68
#6A5DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#6A5DF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DF4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DF4#FFFFFF#000000##FFFFFF
##6A5DF41.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#006EF1
Tritanopia (blue-blind)
#1B82A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a5df4;
/* rgb */ color: rgb(106, 93, 244);
/* oklch */ color: oklch(57.8% 0.217 281.0);
Tailwind
colors: {
  custom: {
    50: '#a18cf9',
    500: '#6a5df4',
    950: '#000000',
  },
}
SCSS
$custom: #6a5df4;
$custom-light: #a18cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5df4",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 245.166,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.2175,
    "h": 281
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#6A5DF4
secondary
#EBEFBE
accent
#E402D0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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