#6B5AF4#6B5AF4

#6B5AF4 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.4% C 0.221 H 281.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6B5AF4
RGBrgb(107, 90, 244)
HSLhsl(247, 88%, 65%)
HSVhsv(247, 63%, 96%)
CMYKcmyk(56.1%, 63.1%, 0%, 4.3%)
CIE-LABlab(48.22, 47.95, -75.20)
CIE-LCHlch(48.22, 89.18, 302.52°)
OKLaboklab(57.38% 0.0455 -0.2162)
OKLCHoklch(57.38% 0.221 281.9)
XYZxyz(26.0436, 16.9681, 87.4732)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5AF4 #E3F45A
analogous
#5A96F4 #6B5AF4 #B85AF4
triadic
#6B5AF4 #F46B5A #5AF46B
tetradic
#6B5AF4 #F45A96 #E3F45A #5AF4B8
square
#6B5AF4 #F45A96 #E3F45A #5AF4B8
split-complementary
#6B5AF4 #F4B85A #96F45A
monochromatic
#220DC6 #3821F0 #6B5AF4 #9E93F8 #D2CDFC

Accessibility & contrast

On white

4.78
#6B5AF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6B5AF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5AF4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5AF4#FFFFFF#000000##FFFFFF
##6B5AF41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006DF1
Tritanopia (blue-blind)
#21809F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b5af4;
/* rgb */ color: rgb(107, 90, 244);
/* oklch */ color: oklch(57.4% 0.221 281.9);
Tailwind
colors: {
  custom: {
    50: '#a18af9',
    500: '#6b5af4',
    950: '#000000',
  },
}
SCSS
$custom: #6b5af4;
$custom-light: #a18af9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5af4",
  "rgb": {
    "r": 107,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 246.623,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.22091,
    "h": 281.9
  },
  "luminance": 0.1697
}

Semantic roles & 50–950 ramp

primary
#6B5AF4
secondary
#E9EFBB
accent
#E401CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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