#6B5AF7#6B5AF7

#6B5AF7 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.6% C 0.225 H 281.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6B5AF7
RGBrgb(107, 90, 247)
HSLhsl(246, 91%, 66%)
HSVhsv(246, 64%, 97%)
CMYKcmyk(56.7%, 63.6%, 0%, 3.1%)
CIE-LABlab(48.45, 48.85, -76.50)
CIE-LCHlch(48.45, 90.77, 302.56°)
OKLaboklab(57.62% 0.0452 -0.22)
OKLCHoklch(57.62% 0.225 281.6)
XYZxyz(26.5028, 17.1518, 89.8917)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5AF7 #E6F75A
analogous
#5A97F7 #6B5AF7 #B95AF7
triadic
#6B5AF7 #F76B5A #5AF76B
tetradic
#6B5AF7 #F75A97 #E6F75A #5AF7B9
square
#6B5AF7 #F75A97 #E6F75A #5AF7B9
split-complementary
#6B5AF7 #F7B95A #97F75A
monochromatic
#1F0ACD #3720F4 #6B5AF7 #9F94FA #D4CFFD

Accessibility & contrast

On white

4.74
#6B5AF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6B5AF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5AF7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5AF7#FFFFFF#000000##FFFFFF
##6B5AF71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006DF4
Tritanopia (blue-blind)
#1A81A1
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6b5af7;
/* rgb */ color: rgb(107, 90, 247);
/* oklch */ color: oklch(57.6% 0.225 281.6);
Tailwind
colors: {
  custom: {
    50: '#a28afb',
    500: '#6b5af7',
    950: '#000000',
  },
}
SCSS
$custom: #6b5af7;
$custom-light: #a28afb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5af7",
  "rgb": {
    "r": 107,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 246.497,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57615,
    "c": 0.22459,
    "h": 281.6
  },
  "luminance": 0.17154
}

Semantic roles & 50–950 ramp

primary
#6B5AF7
secondary
#EBF0BD
accent
#E600CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6B5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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